|
In order to use a DataAdapter, all of your tables in the DataSet MUST have primary keys. A DataAdapter cannot work with tables without PKeys.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
I have to read the .dwg files from our application & fetch the data like no & thickness of wall etc
but i have no idea about autocad ...
plzzzzzzzz healp me
|
|
|
|
|
Google is your friend. I'm sure the autocad file format has been documented somewhere.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
sorry gurus
But i cannot find any forum dedicated to VB.
I have a some maskEdbox on my form.
mask property of each maskEdBox is set to "##/##/####".
problem is that whenever i click on it date and month are ger exchanged.
on got_focus and on key_press some codes r ther like
Private Sub mskProjCompExpDt_GotFocus()
SendKeys "{home}+{end}"
End Sub
Private Sub mskProjCompExpDt_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then SendKeys "{tab}"
End Sub
actually i dont have any idea about this control
suggest me
its very urgent
|
|
|
|
|
MissionSuccess wrote: But i cannot find any forum dedicated to VB.
ROTFL. You're in it.
MissionSuccess wrote: problem is that whenever i click on it date and month are ger exchanged.
In what direction are they changing ? What is your locale set up for in this regard ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
actually i m not understanding
y they r changing some times and sometimes they r not changing
wht could be the reason behind it.
|
|
|
|
|
I really can't help you if you won't answer my questions.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I am not getting what u want...,
tell me ur doubt clearly..,
I will try to help.....,
Magi
|
|
|
|
|
hi all
i want to find IP address & Name of all the PC connected in LAN
i want to list all the name & IP of Computers in Datagrid
plz help me
SP
--
Bugs can neither be created nor be removed from software by a developer. They can only be converted from one form to another. The total number of bugs in the software always remain constant.
|
|
|
|
|
You'll have to ping every IP address in the range of IP's you want to see if a machine responds. If something does responds, you then do a DNS lookup to resolve the address to a name.
There are, of course, a couple of problems. The first is that if the target machine has a firewall setup to ignore and not responds to ICMP requests, the ping will fail even though there is a machine there. There is no workaround for this. The second is if the machine is turned off or in the middle of rebooting. The same ping failure will occur and you'll miss a machine that's on your network.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Please give full example.
Thanks
................
|
|
|
|
|
Then what fun would it be for you to write it?
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
In vb.net
i want to get the information about hard disk partition.
for each partition whats the access level(eg c:, E: , D: )
whats the security level (e: is read only or write denied).
i need to change the write allowed access to write denied.
any idea post me
|
|
|
|
|
Imports System.Io class
and get all answers for ur questions.
|
|
|
|
|
hi all..
i m from ahmedabad,india.
i want the info. abt good coching institute(in ahmedabad) for MCPD.
i want your advice abt that exam also....
plz help........thks in advs....
Imagine the I.T
|
|
|
|
|
1 - exams are a waste of time
2 - the fact that people look for coaching specific to the exam, is the reason they have no value whatsoever.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: exams are a waste of time
Some companies will look more favourably on those that have passed the exam. Therefore it can be advantageous when seeking employment.
|
|
|
|
|
I guess that depends on if you need a job enough to work for such a company. I've always assumed that anyone who looks for exams is clueless.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: I guess that depends on if you need a job enough to work for such a company. I've always assumed that anyone who looks for exams is clueless.
Or if the company desired to be a Microsoft Partner or Gold Partner. Last time I looked (which I admit was a couple of years ago) a company needed a certain number of certified employees in order to be eligable for partnet status. I'm assuming it is still the case.
It is all marketing really. But the process of studying for an exam can be beneficial if the person studies the subject the exam covers rather than study how to pass the exam. I don't mind admiting that I failed two exams on my way to an MCSD because I didn't study enough on areas that I'd never needed previously (e.g. I've never used COM+ so I had to study pretty hard for that part. Now, all that COM+ stuff has dropped out my head anyway).
|
|
|
|
|
Hello,
How can I deactivate the automatic sorting while clicking on HeaderCell of datagridview?
Thank you
Eric H.
|
|
|
|
|
There is no property on the DataGirdView to turn this on or off. This is done on each individual column itself giving you the ability to turn on sorting on certain columns and off for others:
Dim dgvCol As DataGridViewColumn
For Each dgvCol In dataGridView1.Columns
dgvCol.SortMode = DataGridViewColumnSortMode.NotSortable
Next i
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
it works, thank you
Eric H.
|
|
|
|
|
Sir,
I was displaying the exe that are present in my computer.For that I am using the Recursive function.The process is very long operation.
So i found an alternative , which is , I can find out the exe's that are present in my registry.(HKEY_LOCAL_MACHINE).
Can i list all the exes using the registry.in vb.net 2005.
There is one another problem like there is a yahoo messenger installed on my machine.
There is an exe called YahooMessenger.exe
and
YServer.exe
and
YMSGR_Tray.exe
Out of these only the actual Yahoomessenger needs to be shortlisted.
but my program tells the all.
Is there any way out to sort out this as well.
Please help.
Thanks and regards
Pankaj
|
|
|
|
|
amaneet wrote: Can i list all the exes using the registry.in vb.net 2005.
Of course not. Not every exe on your machine exists in the registry, only COM dlls, and files that have been recently used, etc.
amaneet wrote: Is there any way out to sort out this as well.
Of course. Write a list of files you want to ignore, and write code to ignore them. I see no hard and fast rule, it looks to me like you want to write an exclusion list. On what basis did you want to exclude them ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Sir/Madam,
Can I programically ascertain , the number of users who has accounts on my operation system , using the VB.net 2005 .
I can find out the user who is currently logged in .
By the following code.
System.Environment.Username
But I want to know the no of users who has account on the operation system.
Please help.
Thanks and Regards
Pankaj
|
|
|
|