|
|
Hai all ,
i need to create(result will be xml) by using querystring
xyz.aspx?customer_id=&first_name=&last_name=&email=sun@sun.com&phone=
it will display xml like
<?xml version="1.0" encoding="utf-8"?>
<livelookup version="1.0" columns="first_name,last_name">
<customer>
<customer_id>sunnyb</customer_id>
<first_name></first_name>
<last_name></last_name>
<email>sun@sun.com</email>
<phone</phone>
<organization></organization>
<password></password>
</customer>
</livelookup>
Thanks in advance
Thanks
Subbu.
Thanks
Subbu.
|
|
|
|
|
What is the problem when you create XML file ?
simply Split the Querystring(on the basis of '&' ) and fetch the field and add it to xml file with or without value.
if you don't know how can create XML file with vb.net then try Googling[^]
hope this helps
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
My Company
|
|
|
|
|
Hi,I want to ask how can I get data from an excel database and how should I write the settings?Can anybody give me a related link?I am very appreciate for your kind helping.
Thank you.
|
|
|
|
|
try Googling.
you can get lot of way to read excel file data
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
My Company
|
|
|
|
|
I have searched in Google, but I couldn't get the answer I want. Anyway, thank you all the same.
Have a nice day.
|
|
|
|
|
Hii
This code project link provide you sample project and code to use excel as data base. May be this links helps you to solve your problem.
<a href="http://www.codeproject.com/KB/vb/Excel_Connectivity.aspx">http:
Thanx
~Khatri Mitesh
modified on Monday, July 7, 2008 2:55 AM
|
|
|
|
|
Ok, thank you for your kind helping.
Have a nice day.
|
|
|
|
|
Hello Friends
I want to have a picture on the MdiContainer form but I could not .
please guide me about this problem if there is a solvation .
tanks in advance .
|
|
|
|
|
Form.BackgroundImage
"I love deadlines. I like the whooshing sound they make as they fly by." (DNA)
|
|
|
|
|
Dear Friends,
I Need to get my all network systems IP address in my application
how can i do that.
Thanking You
K. Rajesh Kumar
i am a fresher in software development i have so many doubts in .net so i need to ca
|
|
|
|
|
Hiii
i m sending u code which is used to find Work group/Domain in ur LAN. and check that which is pc is Active in that LAN and will also show the IP Address...
'---------------------------------------------------
'Method for Finding Domain/WorkGruop
Public Function GetDomain() As String
Dim WGroup As String = ""
Dim query As New SelectQuery("Win32_ComputerSystem")
Dim searcher As New ManagementObjectSearcher(query)
For Each mo As ManagementObject In searcher.Get()
WGroup = mo("Domain")
'MsgBox(WGroup)
Next
Return WGroup
End Function
'---------------------------------------------------
'---------------------------------------------------
'Method for Finding IP Address of and node no which are Active in LAN
Public Sub ListComputers(ByVal TView As TreeView, ByVal WorkGroup As String)
Try
TView.Nodes.Clear()
Dim AllComp As New TreeNode
AllComp.Text = Form1.groupname
AllComp.ImageIndex = 1
AllComp.SelectedImageIndex = 1
TView.Nodes.Add(AllComp)
If WorkGroup.Trim() = "" Then
MessageBox.Show("Please provide a Domain Name.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
Exit Sub
End If
Dim DomainEntry As New DirectoryEntry("WinNT://" & WorkGroup.Trim())
DomainEntry.Children.SchemaFilter.Add("computer")
For Each Machine As DirectoryEntry In DomainEntry.Children
Dim CompNode As New TreeNode(), CompInfo(1) As String
CompInfo(0) = Machine.Name
Dim Tempaddr As System.Net.IPHostEntry = Nothing
Try
Tempaddr = DirectCast(Dns.GetHostByName(Machine.Name), System.Net.IPHostEntry)
Dim TempAd As System.Net.IPAddress() = Tempaddr.AddressList, str As String = ""
For Each TempA As IPAddress In TempAd
CompInfo(1) = TempA.ToString()
Form1.ListBox1.Items.Add(TempA)
Next
Catch ex As Exception
CompInfo(1) = ""
End Try
CompNode.Text = CompInfo(0)
CompNode.ToolTipText = CompInfo(1)
CompNode.ImageIndex = 0
CompNode.SelectedImageIndex = 0
AllComp.Nodes.Add(CompNode)
Next
TView.ExpandAll()
Catch ex As Exception
End Try
End Sub
'---------------------------------------------------
May be this helps you.
Thanx
~Khatri Mitesh
modified on Monday, July 7, 2008 3:40 AM
|
|
|
|
|
|
This Example returns only your machine ip address not the all network IP address.
Thanx
~Khatri Mitesh
|
|
|
|
|
Well, I'm not convinced that's what he's wanting. If his English was better we'd know for sure.
|
|
|
|
|
if ur not able to understand my english u can't do any thing in coding
Thanks
i am a fresher in software development i have so many doubts in .net so i need to ca
|
|
|
|
|
I already know how to get the handle to the foreground window using the GetForegroundWindow() function inside user32.dll, but i also need something that will return a collection of the handles of all the open windows. If there is no function to do this, and you think there could be another way to do this, please let me know.
|
|
|
|
|
Hi,
user32.dll also holds EnumChildWindows and EnumWindows for you.
|
|
|
|
|
Thanks. I tried that, and for some reason i get 537 handles returned. Obviously, i don't have 537 windows open, so would you (or anyone else) happen to know why it enumerates that many times??? Also, to make myself more clear, i am making a virtual desktop program, so i only want to get the windows that are actually visible (excluding the explorer.exe process).
modified on Monday, July 7, 2008 12:13 AM
|
|
|
|
|
Every control is it's own window, visible or not. Even controls that you think are a single control, are really a combination of smaller controls working together.
|
|
|
|
|
Actually you do have 537 window handles open at one time. To see details on the windows (or for that matter actually believe you have 537 windows open), you can open Spy++ which is an application installed by Visual Studio for debugging aspects of programs and the OS. Spy++, which should be able to be found in the start menu and will list every window/sub-window currently displayed in windows.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios
Discounted or Free Software for Students:
DreamSpark - downloads.channel8.msdn.com
MSDN Academic Alliance - www.msdnaa.com
|
|
|
|
|
I managed to narrow it down to filter out everything but the open windows using the IsWindow() and IsWindowVisible() function inside user32.
|
|
|
|
|
helloI Have Question....
What write a Program that can the object or picture similar object1 object1[IMG]http://i30.tinypic.com/24q5r7n.jpg[/IMG]
with analyze object2 place in object or picture similar object2object2
[IMG]http://i25.tinypic.com/2a604nn.jpg[/IMG]
that can been minimize space of object2 .
?????????Do you known sample code or you can help about this program.????
pleas help .........
pleas help......
hi......
|
|
|
|
|
Wow - that's a lot of works for a question that makes no sense at all. I *think* you want to draw the boomerang over and over on the red shape. Create a texture brush for this, you can do this from a bitmap and you can specify a transparent color, so you can do an irregular shape.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
Hello,
I've been trying to drag & drop an image from a PictureBox to Explorer to create a .bmp file of said image, and I've had no success. I've looked and looked all over the 'Net, found a couple of hopeful looking solutions, but nothing has actually worked.
I've played around with drag & drop, and I can move a picture between two PictureBoxes okay. I was kind of thinking if there was a way to get a string of the path in which I am attempting to drop the image, I could just save it, but I don't know if that's the best way or if it's even possible.
Does anyone know how this could be done?
EDIT: I saw the article here[^], but it's in C#... I only know Visual Basic.
As I sit here, I contemplate the last words of Socrates: "I drank what?".
|
|
|
|