|
|
Man, u guys make it seem so easy... Hahaha,
Once again, I am deeply indebted to you, Christian Grauz. Thanz man...
|
|
|
|
|
Hi! Anybody can help me how to add databind of simple combobbox to a listview using vb.net like many items in property box contains boolean values you can select either true of false
|
|
|
|
|
What do you want to do ? How do you want to select boolean items ? Do you want to embeed a combobox in a listview ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Yes i want to embed a combobox in a listview so that i select items directly from listview For example In an order filling form .
|
|
|
|
|
I doubt you can do that. A datagrid may allow you to do that, I'd give that a 95% chance of being the case.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I'll much thankful to you if you can tell me how to add a combobox in a datgrid , i'll be your fast friend
|
|
|
|
|
|
Thank you Graus i'm going to check it now , Anyone who helps you is your friend "A friend in need is friend in deed now we are friends"
Thanks alot!
|
|
|
|
|
hi, can anyone help me on how to add a row of data in an existing datagird, can i add new row of data without using database or hidden row in datagrid? i have a webform which creates pop up. In that pop up, the users are required to key in data, and the data will add to the datagrid in the main page. i cannot add a new row of data there...
i am new to vb.net, anyone can help? thanks in advance
|
|
|
|
|
Is there a single command that will tell me if an Array = nothing i.e. no data in array
This would be a 2 dimensional array. What I am looking for is something list this
If Array <> Nothing then
****do something
else
****do something else
endif
|
|
|
|
|
(In .NET) You are right about the <> Nothing part, but if the array has been initialized then this will not work. You could try If (Array.Length > 0 Then), this will tell you if anything is in the array if it has already been initialized.
|
|
|
|
|
hi there ,
say i have a few tables ... is it possible to search for the data i want by using a form .. ??
i have done so by using filters .. but is there other ways of doing it ?? 1 more thing .. i can only filter by the data in the columns , but what if i want to display only the few columns i select in the form ... how do i go about it ...
<br />
pnl.text , pf.text and product.text are combo boxes .. the rest of the combo boxes contain columns as the data not rows ...<br />
<br />
If pnl.Text = "ON" Then<br />
Range("B6:CJ178").Select<br />
<br />
Selection.AutoFilter Field:=1, Criteria1:=pf.Text<br />
Selection.AutoFilter Field:=2, Criteria1:=product.Text<br />
<br />
ElseIf pnl.Text = "OFF" Then<br />
Range("B180:CJ291").Select<br />
<br />
Selection.AutoFilter Field:=1, Criteria1:=pf.Text<br />
Selection.AutoFilter Field:=2, Criteria1:=product.Text<br />
<br />
ElseIf pnl.Text = "ON & OFF" Then<br />
Range("B293:CJ504").Select<br />
<br />
Selection.AutoFilter Field:=1, Criteria1:=pf.Text<br />
Selection.AutoFilter Field:=2, Criteria1:=product.Text<br />
<br />
End If<br />
|
|
|
|
|
Hi
Could anyone help me with a small problem. I am trying to print using vb.net. I can use the following line of code to print using vb6.
Printer.Print "Reference No.: " & frmWorkOrder.txtFindWO.Text
How do I do the same in VB.net
Thanks
|
|
|
|
|
Is it possible to simulate the following key press sequence in a VB program.
Sequence <alt> <prnt scrn="">
i.e. so it acts as if these keys were actually pressed.
Thanks,
|
|
|
|
|
The sequence was ALT PRNT SCRN, but used angle brackets so not show in original post.
|
|
|
|
|
hi , can anyone help me please?
i'm new to the vb.net
i want to download web pages from the web into local files , i used URLDownloadToFile from the microsoft site :
Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _
(ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, _
ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long
Dim llRetVal As Long
llRetVal = URLDownloadToFile(0, "http://www.yahoo.com", "c:\Temp.htm", 0, 0)
but nothing happened .
why?
|
|
|
|
|
You used the declaration for VB6, which won't work in VB.NET because the type names are now different sizes. By this, I mean that in VB6, a Long is a 32-bit signed integer. In VB.NET, the Long type is a 64-bit signed integer. The declaration should be:
Private Declare Auto Function URLDownloadToFile Lib "urlmon" _
(ByVal pCaller As IntPtr, ByVal szURL As String, ByVal szFileName As String, _
ByVal dwReserved As Integer, ByVal lpfnCB As IntPtr) As Integer
You'll call this with:
Dim returnCode as Integer
returnCode = URLDownloadToFile( IntPtr.Zero, "http://www.whatever.com", "C:\MyDownloadedStuff", 0, IntPtr.Zero )
I don't know if it'll work exactly like this because I haven't tried it...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
It may be 3.5 years nearly since this was posted, and it has taken HOURS to find it, but thank you, thank you, thank you. I sort of twigged this was the problem but did not know how to fix it.
|
|
|
|
|
Are there any ways to delete a directory that is NOT empty? (In Vb.Net)
I used System.IO.Directory.Delete, but the directory has to be empty..
|
|
|
|
|
Or are there other ways to delete a folder that is NOT empty as well?
|
|
|
|
|
If your supply the Directory.Delete method with the name of the directory and True, it'll delete everything inside the directory you want to kill off.
System.IO.Directory.Delete("C:\TEMP", True)
will delete C:\Temp and everything inside it.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I have a trouble with Ms.Access. I don't know how to add a new record into the specific table inside the VBA-code enviroment of a form.
For examples:
I need to add a new record into the table called 'tblA'. The work is done inside the code VBA of a form.
please,help me...Thanks so much
|
|
|
|
|
Don't you just use SQL to add a record ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
======================================================
Friend Class LCOtherInfo()
protected ss as string
public sub new(byval x as string)
ss=x
end sub
end class
=====================================================
Dim x As New LCOtherInfo(x)
When i create instance of LCOtherInfo but i has an error,"can't obtain value".
Please tell me the way!!!!!!!!!!!!
|
|
|
|