Search results for query: *

  1. R

    Question registry reading (Standard Key)

    Hi, I try to read the value ""C:\\Program Files\\Edgecam\\2011.10"" from the following registry entry: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Planit\Edgecam\2011.10\Installation] @="C:\\Program Files\\Edgecam\\2011.10" "Folder"="Edgecam\\2011.10"...
  2. R

    Question how to insert a null value from db to db

    I tried that but then I get: Class 'System.DBNull' cannot be indexed because it has no default property.
  3. R

    Question how to insert a null value from db to db

    Hi, it's been a while but I'm burning my fingers once again on databases :) I'm trying to make a tool that copies records from one database to another similar database (SQL). I made a form containing 2 datagrids, one as source and the other as target. I try to use...
  4. R

    file set read only

    Thanks a lot you all!!!! This was once again very helpfull!!
  5. R

    file set read only

    Hi, can anyone tell me how I can set a file to be not ReadOnly. Something like: if readonly(c:\file.txt) =true then readonly(c:\file.txt) =false end if how should I accomplish this?
  6. R

    Editing Excel file from VB.NET

    How can I retrieve and edit data from an Excel sheet using a stand alone vb.net program?
  7. R

    security message

    This morning I got the same message on my pc (the one without Visual Studio 2003 but with VB6) The program startup is no problem, but I have a buildin function that periodicly checks whether a certain process is running or not. I think the progam generates the security message on this check and...
  8. R

    security message

    Hi, I wrote a VB.NET program which works fine on my computer and most of my colleagues. But on some computers I get a windows security message: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text...
  9. R

    Problem with user control in combination with tabcontrol

    I'm struggling with a weird kind of problem. When I insert my UserControl on the form it works fine. But if I try to put it on a tab in a tabcontrol, or in a frame the usercontrol dissapeares after I ran the program. If I try to put the same control back in my project it gets a new name...
  10. R

    weather forecast

    Hi, I have been trying to figure out how to get weather information from for example weather.com Hopefully someone here can give me some pointers on how I can extract the current temperature, humidity, sunset and sunrise for any given location(s) worldwide. The only example I found was a VB6...
  11. R

    reading from a "dynamic" textfile

    Thanks a lot Kulrom. I discovered what went wrong!! I was playing around with your code and it worked, so why didn't mine? Then I discovered that if I would place the "sr.close()" and the "dim sr as streamreader" outside the try loop it closes the textfile properly for reopening it. P.S. I...
  12. R

    reading from a "dynamic" textfile

    Well the reason that I want to open that file is that I have this Temperature/humidity sensor on a USB 1-wire network. I also have a piece of third party software which logs the data from the sensors in the followinf format: 000 T 10-9-2005 23:33:07 026 194 246 246 000 H 10-9-2005 23:33:13...
  13. R

    reading from a "dynamic" textfile

    Hi, I have a textfile where constantly (about every 10 sec.) text is being added (a log from a temperature sensor). I can read the last added line with a VB.NET program. But I can't get it to repeat this over and over again, without restarting the program or reopen it with my fileopen dialog...
  14. R

    Bug????

    This works fine indeed :) Weird, I'll try to replicate my problem in a while. Now it's time to go to sleep :D
  15. R

    Bug????

    Hi Kulrom, according to the debugger both coordtemp(1) and coordinate(1) are both "8.925" and coordtemp(3) and coordinate(3) "1.5". And your post does not explain why: coordtemp(1) <> coordinate(1) OR coordtemp(3) <> coordinate(3) does not cause the msgbox to popup when coordtemp(1) and...
  16. R

    Bug????

    I know, but the msgbox appears when only one of them does not match. When I use OR instead of AND it works the way I want it to, if both are not the same the box appears. It's the world upside down!!!
  17. R

    Bug????

    Hi there, I was experimenting with VB.NET and couldn't get my code to work properly. If (coordtemp(3) <> coordinate(3)) And (coordtemp(1) <> coordinate(1)) Then msgbox("there not the same") End If when coordtemp(3) is not equal to coordinate(3) AND coordtemp(1) is not equal to...
  18. R

    Ocr

    On google I found this article: http://www.safesite.com/product.php%5Bid%5D85271%5Bcid%5D81%5BSiteID%5Ddigibuy maybe you can use it
  19. R

    form.activeform.opacity

    I tried to make a form that would become semitransparant when moved. But I couldn't get it to work, when I put the command in Move or LocationChanged it results in an error. Private Sub Form1_LocationChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.LocationChanged...
  20. R

    Run without framework?

    It works great, I use it on a CD-rom. The autorun starts setupFW.exe, this program checks for the existance of the .NET Framework (form.visible=false). If present, it starts my program, otherwise it installs the Framework and closes itself. The only thing I want to try is to have setupFW monitor...
Back
Top