|
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"
|
|
|
|
|
Hello,
i create a test program to access to a c++ dll via vb.net.
I create a module with following function declaration:
Declare Sub USBCon Lib "Test.dll"
everytime i try to call this function i get an dll not found exception!!
I put the dll into the program directory (output directory)!
what' wrong??
|
|
|
|
|
Hello,
have you tried to give the full path?
Regards: Didi
|
|
|
|
|
Hello,
yes i have!
I found the problem!!
i forgot to copy a dependent dll into the output directory!!
|
|
|
|
|
How to create Dynamically DataSource property to Propertygrid in vb.net windows
|
|
|
|
|
PropertyGrid does not have a datasource property!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Hello every one.
I have a Vb 2005 express application and i am using partial classes. The application works fine. I had a observation that in the solution explorer the partial class is shown as a new form and there is no designer and resx file.
When i double click the partial class file it shows a blank form.
What i was assuming that it should come under the class for which i have declared it as partial class and not as a independent form
Diagrammatically what the solution explorer has
+ -- frmMain.vb<br />
. |-- frmMain.Designer.vb<br />
. |-- frmMain.resx<br />
---- frmMainPartial.vb
What i was expecting was
+ -- frmMain.vb<br />
. |-- frmMain.Designer.vb<br />
. |-- frmMain.resx<br />
. |-- frmMainPartial.vb
I am concern that had i implemented the partial class the right way and the solution explorer is showing the right thing or i am wrong at some place
Regards
Nishkarsh
|
|
|
|
|
The solution-explorer doesn't group the files by the namespace or classes that are declared therein. The grouping can't be changed from the IDE as far as I know, but you can edit the Project file manually (or create a cool tool to do so). Here are the steps to get the Solution Explorer to display it your way;
* Locate the projectfile (*.vbproj) and open in using notepad.
* Find the line that links the file with the partial class to the project. It probably called "frmMainPartial";
<Compile Include="frmMainPartial.vb" /> * Now change it so it looks similar to the entry for the resource-file. It should become something like this;
<Compile Include="Class1.vb">
<DependentUpon>Form1.vb</DependentUpon>
</Compile> Or, using your formnames;
<Compile Include="frmMainPartial.vb">
<DependentUpon>frmMain.vb</DependentUpon>
</Compile> Enjoy
I are troll
|
|
|
|
|
I've already made a program to use 360 controller like a mouse with XNA, but what I am wondering is, how can I play sound via the headset if its connected? ( I know XNA is a c# thing but it works fine in vb)
Have you tried the Krypton Toolkit? http://www.componentfactory.com/free-windows-forms-controls.php
|
|
|
|
|
Headset audio is not supported by the XNA Framework yet.
|
|
|
|
|
I have a program that allows me to track incoming leads. The database stores all the info on my computer. I am using the free version of SQL that comes with Visual Studio. If I wanted to give my program to other users and allowing them to work on the existing database on my computer is this possible? Or is it possible for me to change the program or database to allow it to be stored on a server for 2-3 people to manipulate? If so do you have suggestions on where to start in order to understand how to setup the program correctly for this?
|
|
|
|
|
You would have to expose the database over the web, a webservice is the best way to do that. Unless the users are on your network, then just a net work connection string is needed.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Perfect, users are on my network. Obviously I dont expect you to explain the entire process of how to input the connection string and get my program to find the db, can you point me towards a good place to look and learn? Or I guess if you did want to give a little more detail that would help too.
|
|
|
|
|
I am assuming this is the line of code in the app.config file that I need to edit somehow?
<add name="HSOA_HV.My.MySettings.HVConnectionString" connectionString="Data Source=|DataDirectory|\HV.sdf"
providerName="Microsoft.SqlServerCe.Client.3.5" />
|
|
|
|