Search results for query: *

  1. S

    VB.NET/ADO.net easy as msaccess project

    some help to be able to bind textboxes at designtime for example. I know it was something to do with regions.
  2. S

    VB.NET/ADO.net easy as msaccess project

    Well the code I posted already makes that possible (simple as access) just try ;)
  3. S

    VB.NET/ADO.net easy as msaccess project

    ...cleaning... To bind to a textbox: Dim bs As New BindingSource dtsource(bs,"Provider=Microsoft.Jet.OleDb.4.0;Data Source=sample.mdb;","select * from table") textbox1.DataBindings.Add("Text",bs,"theField") And a formated textbox (Only the time for example) Dim bs As New...
  4. S

    VB.NET/ADO.net easy as msaccess project

    ...Module To bind to a datagridview for example just use: dtsource(dataGridView1,"Provider=Microsoft.Jet.OleDb.4.0;Data Source=sample.mdb;","select * from table") I'm now trying to make possible a textbox to recognize a databind at design-time, but I don't know how, maybe turning this a class...
  5. S

    Command line twain

    Please someone help, I can't figure why I can't put the scanner to acquire image.
  6. S

    Command line twain

    ...= CreateDC("DISPLAY", Nothing, Nothing, IntPtr.Zero) Dim bitDepth As Integer = GetDeviceCaps(screenDC, 12) bitDepth *= GetDeviceCaps(screenDC, 14) DeleteDC(screenDC) Return bitDepth End Get End Property...
  7. S

    Permissions error

    And how do you run a .net app there? I could do that with any vb6 or whatever app running it in any location... Right?
  8. S

    Permissions error

    ok guys, I found this way to add trust to the app run in network: in command line: caspol.exe -m -ag LocalIntranet_Zone -url \\<ServerName>\<FolderName>\* FullTrust -n "<Name>" -d "<Description>"
  9. S

    Permissions error

    There's no way to increase the trust only for my app?
  10. S

    The folder path '.' contains invalid character

    same problem here.
  11. S

    will access need to be instaled on client pc?

    I have a vb.net app that uses a mdb. My question is will the app work correctly with the access mdb if the client computer haven't access instaled? Is there some dll/jet that I can Import or something? I have made a quick test with a fresh xp in virtual pc, and it gives a error (I instaled...
  12. S

    crop image to picturebox

    ByVal bmp As Bitmap isnt possible because it must be a string :(
  13. S

    Speed on crop

    :( !
  14. S

    Speed on crop

    Hello, This is to find the first darkest pixel, in order to crop a image, but it's too slow. Is there a way to speed this? Dim bmp As Bitmap = im Dim wth As Integer = 0 Dim hgh As Integer = 0 Dim newpoint As Drawing.Point Dim aL As Integer = 0 Dim...
  15. S

    How to identify a paragraf character in a string

    ok fount it: vbCr http://msdn2.microsoft.com/en-us/library/st1shaxd(VS.80).aspx
  16. S

    How to identify a paragraf character in a string

    All I want to do is to strip of the paragraf character. It's identified with something like ^p or ^n but can't figure out. Somebody knows the identifier? Thanks
  17. S

    crop image to picturebox

    No answers yet..?
  18. S

    crop image to picturebox

    I tried that, it don't worked. If I save to a temp file it work, but that's no good job I think, but if it aren't another way... Is there other way? :( I'm having some problems converting types, now I just want to resize images to restrain all to same size, how to do that?
  19. S

    crop image to picturebox

    I found how: Public Sub hello() Dim bmp As New Bitmap(2000, 2000) Dim srcRect As New RectangleF(100, 90, 300, 50) Dim g As Graphics = Graphics.FromImage(bmp) g.DrawImage(Image.FromFile("image.jpg"), 0, 0, srcRect, GraphicsUnit.Pixel) PictureBox1.Image...
  20. S

    crop image to picturebox

    I'm trying to crop a rectangle area from an image. A simple cut/paste. Anyone can help me?
Back
Top