This is probably really simple. Say I've got a window frmMain. How do I get a handle for that window?? Cheers
ineedhelp
Posts
-
hWnd -
changing ip's and webservicesHey pplz, I've got 2-3 instances of an application running on seperate machines. They want to be able to exchange data. I'm having trouble letting each instances know the ip address of the other machines as they change each time the machine comes online. I tryed a setting up a webservice to store and send address's but keep getting errors when I try to access it after having uploaded the files, but not problems when using it on my machine. The server says it supports asp.net and all that stuff. Pointers towards detailed instructions on deploying a webservice idea for other solutions appreciated. Thanks
-
load vb.net application when OS startsPut it or a shortcut to it in the Startup folder. e.g. C:\Documents and Settings\All Users\Start Menu\Programs\Startup
-
changing ip's a problem...I'm creating a few programs for chat/email purposes. The idea was for there to be no central application and each program connect to the others kinda like in a p2p network (i think). I've not really got any idea how they are going to know what ip to connect to if each time the user connects to the net they get a new ip. I'm using networkstream and tcplistener/client because thats all I know how to use. Any ideas or even pointers towards classes better suited to this would be great. Thanks
-
recieving data in a network stream??I'm using a network stream to send data but don't how to recieve it efficently. Reading data from the stream assumes knowing data is there. How do I know when data is waiting to be read?? Is a event triggered when data is able to be recieved?? Thanks
-
Web/Network communicationI'm trying to teach myself how to send data over a network and interact with an ASP. This isn't even introduced in any of the books I have, and any second step or intermediate level texts I've found haven't shed any light. Basically I just wanna know what the terms are that cover what I'm trying to do that I know what I'm looking for. Any books or webpages that could help would be a great help too. e.g. C++ Windows Sockets are used to interact over a network with little effort. And I could be wrong but I think in years gone by (not sure if it's still relevant) but they used CDO and MAPI for sending emails and data??
-
TimeSpan from txt FileI need to store a TimeSpan value on the harddisk when the application exits, and then when it loads, read the value and convert it back to TimeSpan data type. Having tryed several methods I'm stumped. I was using StreamWriter and writing it as a single string and then tryed it as three seperate strings for hours, minutes, seconds. Then reading each string seperately, converting to Integer and setting the TimeSpan values from the Integers. no luck though. Thanx in advance
-
Show me a good book for beginning to learn Visual Basic.Netspeaking as a self taught (or rather self teaching) vb.net programmer learning to program from a book with no prior programming experience(i'm assuming you have none) is quite difficult. and no one book is going to get you up and coding. rather be prepared to buy several books before you even start to code some reasonable applications. i don't mean to put you off. coding is great fun as anyone here will tell you:cool:. just saying be prepared for lots of frustration:confused:. anyways, for a gentle intro to anything i've always found the "Sam's Teach yourself..." series to be brilliant. try "Sams teach yourself Visual Basic.Net in 24 Hours" or "... in 21 days" You could then try moving onto "Even more VB.net" in the same series or search for something a bit more complicated. One you find a place to start and learn a bit you get to know what you want to know how to do and the technical names for it and find books more about that. Good luck
-
Crossover NetworkI have little to no idea about setting up a home network. So far I have managed to install the NIC's and a crossover cable. (only connecting two pc's) i've run the networking wizard on the windows XP computer and then made the floppy disk and ran the wizard oon that on the windows ME system. i've heard thatyoui have to configure the ip address on both systems or something like that but i really have no idea how to do that and what to do next. the pc's need to be able to share files and multiplayer gaming. this is really starting to frustrate so any information on what to do next would be awesome. oh yea and does it matter if the XP machine has a NTFS file system and the ME machine is FAT32?? thanks
-
text from form1 to form 2this may sound really basic and i'm sure it is. but throughout all of the books i've read (being self taught) i've never come across how to get the string in a text box on one form another text box/label/whatever on another form. for example: say form1 has a textbox for inputting a users name. how can i then display that name on form2 in a label control? thanks in advance cheers
-
Network CommunicationI'm a newbie at programming. I need to build an Client/Server application in which my home computer is likely to be the server but possibly the school server. At most there will be no more than 200 clients of which only a few will be accessing the server at anyone time. I've heard lots about XML and ASP.Net but know nothing about them. Does VB.Net have a simple thing to use like C++'s Winsock?? What would be suitable approach use for the network communcation side of this. oh yea, the data will be being transferred over the internet to the users home systems. Cheers Thanks in advance Jace
-
Displaying ImagesHi guys, I need to be able to display jpgs as a background for an MFC dialog based application but have no idea where to start. Any methods are greatly appreciated. Xtremean
-
Playing Wave files on startupI'm pretty much a complete newbie to the programming scene. I can't for the life of me work out how to play a wave file. Preferably during the startup of the application but even if it was on the press of a button. I have read about the PlaySound and DirectSound classes/functions (whatever they are) but cannot get them to work. Also i have come across what looks like a really good class (cSound) for download on this website but apparently it doesnt work in Windows XP, and i cant get that to work either. I need to know everything i would need to do (initialisation and all that) coz im completely lost and this is getting very frustrating.:confused: even a link to a class i can use or step by step tutorial would be a big help. o and im using VC++.net Cheers jace