|
hi
i want to get the IP address from a System name in VB.I used gethostbyname but it is valid only for URL's.(eg:www.google.com)
But i want IP address for the system which exists in a domain.(eg: "remotehostname")
how to obtain it??
"Every morning I go through Forbes list of 40 richest people in the world. If my name is not in there, I go to work..!!!"
-- modified at 7:00 Wednesday 17th May, 2006
|
|
|
|
|
|
1. I want to assign datasouce to chart,but i don't know
how to assign it.
2. After it was assigned, How can i add each field(retrived from database) to bar of chart.
I used chart:Microsoft office web component 11.0
for example: I have three fields in table of database
Province: Male : Female :
BDB 5 3
BMC 4 7
|
|
|
|
|
table1
ID Name
001 da
002 ab
combo.datasource=table1
combo.displaymember="Name"
combo.valuemember="ID"
I want to get '001' or '002' from combobox.
|
|
|
|
|
How does one load info to an ftp site via vb.net
|
|
|
|
|
|
hi, im populating a dataset from a view and displaying it on datagrid, now i need to edit some of the records which are displayed on datagrid,does data grid allow such edit , and how can i do it ?
|
|
|
|
|
Hi,
Yes you can edit records in the datagrid.
Go through this link it will be helpful
http://samples.gotdotnet.com/quickstart/aspplus/samples/webforms/ctrlref/webctrl/datagrid/doc_datagrid.aspx
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi All,
My problem is I have to Import non - unicode charachters from an excel and show it in DataGrid.In excel they seem to be fine,but whenever i see it in datagrid it is shown like meaningless characters like [][][] .So in UI the non - unicode characters are not shown properly.
I am using oledbconnection for this and the code works fine for Unicode characters.
Anybody have any idea about this problem .
Nilanjana
|
|
|
|
|
how do I put Flash file (*.swf) on Form?
|
|
|
|
|
|
Hello everybody. I already add to vb8. but I cannot draw it on the Form. can you tell me?
|
|
|
|
|
What are you asking ? A control that's created in VB6 is unlikely to work in VB8, unless it works via COM.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I have an applicatoin with an embeded webbrowser window in it. I need to get the screen XY coordinates of the element so I can click on the element. I am able to identitify the element by "ID" in the HTML. Below is the type of thing I'm trying to get the coodinates for.
Example:
<HTML><br />
<BODY><br />
<table><br />
<tr><br />
<td id="findthis">I want to find the XY to be able to click here with VB.net</td><br />
</tr><br />
</table><br />
</BODY><br />
</HTML>
|
|
|
|
|
Hi....
I have encounter this problem when i am reading info from my excel file using VB6, the characters it's display is in ? format. How Can i solve this problem
Help urgently required
Thanks a Million
KaKaShi HaTaKe
|
|
|
|
|
Hello evrybdy,
i've a question about vb.net 2005.
actually i was developing one project in vb.net 2003..but now i've vb.2005 ..so i am trying to convert my application in vb.net 2005. when i'm try to open my solution,it gives me error "{Project location is not trusted"...
actually i am trying to give the full trust to assembly..but at that time it gives me the same error adn quits..
this is on my network drive.
so i moved my project to my local(c:\) drive. now its worjking fine..
but my user /server is on my network drive...so i've to run exe from my network drive..
if anybody knows abt some thing ..let me know
my e-mail add is hemakshi74@hotmail.com
hemaxi
|
|
|
|
|
I am trying to create a Windows Form to update a simple database, but cannot get the code right for the update process. I felt like I had it down in class, but ... not!
The SQL 2000 database has 21 fields (datetime, nvarchar, int) data types. I created 2 forms, one with textboxs for each field and the other with a data grid. I cannot seem to get either one to work. As some of the fields are lengthy, the form with individual textboxs would be the preferred way. Any help would be greatly appreciated! I have the load function working to see all of the records. I also 3 fields that use a listbox and I am able to select the different values.
Thank you,
LWhite
|
|
|
|
|
What do you want to do?
Maybe DATAFORM Wizard could help you.
ICQ:258-235-734
MSN:msnadair@hotmail.com
|
|
|
|
|
I do use the wizard, but since the wizard defaults to OleDb vs SQL, my problem occurs changing the connection over to SQL.
LWhite
|
|
|
|
|
Hi i am new in this frum
i am trying to find a way to search through listview by typing in textbox
so by typing each charecter program has to find first a first item in listview that starts with that charecter and sort it by that charecter
any idea would be a great help for me
|
|
|
|
|
I have an image button on my form. But the problem is the button is round, but the button is square. So I want a round button on an imagebutton, where the white around the sides doens't show up. Much like if you make it non-opaque in a graphics package, i.e. it just disregards any white as being not there.
Can anyone help?
|
|
|
|
|
Hi All,
I was given a task at my job where I have to implement the click events of a "Next" button and a "Previous" button, for example. However, in the code, I see that another event is raised in the click event. Below is the example for the "previous" button in vb.net. My question is why not just use a normal method? As shown below, why call a NextClick() event in the click() event?
Private Sub btnNext_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnNext.Click
RaiseEvent NextClick()
End Sub
|
|
|
|
|
No reason - the code for the NextClick method should really just be in the click handler, unless it's a method that gets called in more than one place. Even then, just calling the method should be all that's needed.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I want to retrieve schema information about a specific table. What I would like to know is;
The field that is the primary key.
The field(s) that are foreign key(s).
And list the data types for these fields.
Visual Basic 6.0 help has a nice routine to retrieve schema information, but you must loop through an entire recordset. I want to just send field names and retrieve their data types so I can mark the primary key field from the foreign key field.
Here is the VB6 routine:
Public Function Primary_Key(cnnDB As ADODB.Connection, strTbl As String) As Boolean
On Error GoTo Primary_Key_Err
Set rstPriKey = cnnDB.OpenSchema(adSchemaConstraintColumnUsage)
Do Until rstPriKey.EOF
With rstPriKey
If (UCase(!TABLE_NAME) = UCase(strTbl)) And (UCase(!CONSTRAINT_NAME) = "PRIMARYKEY") Then
Primary_Key = True
GoTo Primary_Key_Exit
Else
Primary_Key = False
End If
.MoveNext
End With
Loop
Primary_Key_Exit:
On Error Resume Next
rstPriKey.Close
Set rstPriKey = Nothing
Exit Function
Primary_Key_Err:
Msg = "Error in Startup module - Primary_Key function. " & vbCr & _
"Error # " & Hex(Str(Err.Number)) & " was generated by " _
& Err.Source & vbCr & Err.Description
MsgBox Msg, , "Error", Err.HelpFile, Err.HelpContext
Resume Primary_Key_Exit
End Function
Any help would be appreciated.
Thank you,
Quecumber256
|
|
|
|
|
I have the windows media player in my form already but can't get it to play a specific movie file located on my hard disk. I don't know which command to use to tell my program to play the file. Could someone please explain to me how I can tell my program to (load and play) a small movie clip in my form?
Any help would be greatly appreciated!
-- modified at 16:48 Tuesday 16th May, 2006
|
|
|
|