|
OK.
And when you move the mouse pointer over the various terms in the error line:
Dim manifestLocation As String = clsidKey.GetValue("CodeBase").ToString
which one shows up as nothing?
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
clsidKey.GetValue("CodeBase").ToString
i think the property codebase is null
|
|
|
|
|
Check the registry manually for the existence of CodeBase.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
exist, i checked it yasterday and i found the path exist in the codebase
|
|
|
|
|
Hi guys,
I want to read a comma delimited text file from the second line only.I can currently read all the lines, but i want to omit the first line and skip to the next. This is the code that reads all the lines.Can anyone assist.
Dim myReader As New IO.StreamReader(browselocation2.FileName)
Dim filestream As StreamReader
filestream = myReader
Dim readcontents As String
While myReader.Peek() <> -1
readcontents = filestream.ReadLine
Dim textdelimiter As String = ","
Dim splitout = Split(readcontents, textdelimiter)
Dim sql As String = ""
Debug.Print(splitout(0))
End while
Thanks in advance
|
|
|
|
|
If you are sure the file has at least one line just do readcontents = filestream.ReadLine before the While.
If you are not sure wrap it in an If myReader.Peek() <> -1 Then .
Regards
David R
---------------------------------------------------------------
"Every program eventually becomes rococo, and then rubble." - Alan Perlis
|
|
|
|
|
HI
try this...
dim lp
lp = 1
While myReader.Peek() <> -1
readcontents = filestream.ReadLine
if lp > 1
Dim textdelimiter As String = ","
Dim splitout = Split(readcontents, textdelimiter)
Dim sql As String = ""
Debug.Print(splitout(0))
end if
lp +=1
End while
|
|
|
|
|
Read the whole file and just ignore the first line.
|
|
|
|
|
Seems logical to me.
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
Thanks guys,
I just decided to read the first line and ignore posting it to the db .Seems very easy when its said that way doesn't it?well it is..Thanks 4 the help people. Its much appreciated.
Regards
|
|
|
|
|
How to colorize partial background of item in rowset of listview?
example:
have my_var=75 colorize 3/4 of item, have my_var=50 colorize 1/2 of itema, have my_var=72 colorize ecc...
Similar a progressbar but stop for filling item based value in my_var...
|
|
|
|
|
Investigate the OnDrawItem and OnDrawSubItem methods.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
hi... but i need for vb6 classic.... no net
|
|
|
|
|
In that case try here[^].
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
5 isn't enough, but don't despair, others will add to it.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
I can't find any VB6 examples for what you want to do.
|
|
|
|
|
Just in case you haven't yet found a solution, try Googling for subclassing listview vb6 .
I did that and there were several hits that sound as though they might do what you are looking for. I would have given a link to the most promising, but you probably wouldn't trust it.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
i'm not a member of vbcity so i can't verify but this link says it does what you want
http://vbcity.com/forums/topic.asp?tid=98359
'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous
'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous
|
|
|
|
|
hi...
i would like to get t details of all t applications that are running in a remote system using a vb.net application. plz help me out to solve this.
|
|
|
|
|
Are you from Yorkshire?
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
ROFL (I'm from Leeds originally!)
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
You can do it using either the Process class or by using the System.Management namespace and the WMI Win32_Process class.
Also, you're going to need an admin level account on each machine that you want to get the processes from.
|
|
|
|
|
Hi,
With My datagridview
Allowuser ToAddrows=true
Allowuser ToDeleterows=true
dim dsf_52 As New DataSet, dtbf_52 As New DataTable,daf52 As SqlDataAdapter
Dim Comd_52 As String = "select sec_erb_id.emp_id,emp_master.fir_name,sec_erb_id.sec_id_no from sec_erb_id,emp_master where emp_master.emp_id=sec_erb_id.emp_id"
con.ConnectionString = ConStr
con.Open()
daf52 = New SqlDataAdapter(Comd_52, con)
daf52.Fill(dsf_52)
dtbf_52 = dsf_52.Tables(0)
con.Close()
MyDataGrid1.DataSource = dsf_52.Tables(0).DefaultView
Now the user added & deleted in datagridview. Is there any easier way to save to sql server 2005 ?
THANKS AGAIN
modified on Wednesday, May 13, 2009 5:11 AM
|
|
|
|
|
Look around[^], do some research this question is asked at least once a day, there are plenty of answers
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
dim DB as new nameofyourdatabase.tableadapter.tablename
me.datagrid.datasource = DB.insertrows "not sure about this part but it goes on like that"
|
|
|
|