Hi all, firstly i apologise if this has appearred before, i did search for it, honest :)
i have a sandisk memory stick, which works great at work, but as soon as i plug it into my home machine, it registers as device unknown in all my USB ports. I have seen this happen before with various other Memory sticks but i have got around it by using a different port.
Anybody able to shine some light on this? My OS is Windows XP home,...
User Profile
Collapse
-
Sandisk USB Memory stick - Device not reconised
-
Martin you are a saint my friend! i have managed to get it to export finally!
I had to double quote the arguement...Code:Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Process.Start("c:\Windows\regedit.exe", "/e c:\AB3DSettings.reg ""HKEY_LOCAL_MACHINE\Software\Aberlink 3D\""") End Sub -
Hi Martin, the code i have works providing there isnt a space anywhere in the registry path i want to export. Which is a real pisser considering the part of the registry i need is some software called "Aberlink 3D". I just need to code it so it sees "Aberlink" and "3D" as the complete path name rather than two seperate entities.Leave a comment:
-
still no joy, VB obviously sees the space and assumes that the "3D" is a seperate parameter. I cant see any way of getting round it unless VB has its own export function. All the functions i have found only include low level functions like, read, write, create and delete. i will venture on though!Leave a comment:
-
still wont run with that space between "Aberlink 3D". im so close if it werent for this silly void between words!Leave a comment:
-
Thanks that seems to have done the trick, below is the function of clicking a button, the command works fine until the Reg key i want to export has a space somewhere in the key name.
IE Aberlink 3D shown below:
...Code:Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Process.Start("C:\Windows\Regedit.exe", "/e C:\Joy.xxx HKEY_LOCAL_MACHINE\SOFTWARE\AberlinkLeave a comment:
-
Here is the line ive been playing with:
But it refuses to let me run the .exe with added parameters, i delved into the My.computer.reg istry functions again with no luck....Code:Private Sub ExportReg_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExportReg.Click Process.Start("regedit.exe /E C:\Regtest.reg "HKEY_LOCAL_MACHINE\Software\Aberlink 3D") End SubLeave a comment:
-
Cheers Plater, but ive been using the process class and it doesn't like and parameters after the .exe ive also played with the registry class but there isnt a function to export a part of the registry :(Leave a comment:
-
Running a EXE with command line parameters in VB 2005
Hi Guys, im trying to get VB to run the regedit.exe function with the following command line
regedit.exe /E C:\VB.txt "HKEY_LOCAL_MAC HINE\Software\A berlink 3D"
Anybody have any ideas? The problem i have is getting VB 2005 to export an entire subkey rather than just one value at a time. Am i going down the right route with using regedit or is there a function within .net that will do this for me?
... -
Embeding Video into Word using VB
Hi guys, was wondering if someone could help me out. Ive managed to embed Windows media player into word, and i can link the files in fine, but this file is heading onto a CD. Is there any way i can program the player to seek the root directory of the word file to find the movies or will i have to link em all to the CD drive? just that this file maybe moved around and obviously not everyones CD drive is D:
Thanks in Advance
No activity results to display
Show More
Leave a comment: