Topics
-
-
- Leaders
- 2 replies
- 1.4k views
hi, Could any one please let me know how can I make the child MDI form as a fixed one with parent in vb.net. i.e the MDI child should act as a fixed window with the MDI parent, that way I can't close or resize the child window. Thanks, Nick
Last reply by snarfblam, -
-
- 0 replies
- 1.9k views
I have an array of values that match some of the values (as in valueMember not displayMember) within a multi-select listbox bound to a datatable from a dataset. I want to select all the items in my listbox where the items value is in my array. I can't seem to figure out the right syntax. I currently have For Each anItem In lstMachineStatus.Items If anItem.Item("query_id") = arrMachineStatus(n) Then 'how do i get the listboxes index of anItem to place in below? lstMachineStatus.SetSelected(SOMETHINGHERE, True) End If Next any help much appreciated
Last reply by DannyT, -
- 3 replies
- 1.4k views
Im just messing around with sockets as uptill now I not really touched it. Anyway I want to create a server query tool for halflife servers. Here is the code so far very simple as you will see Dim MyUDP As New UdpClient Dim MyIP As IPAddress = IPAddress.Parse("195.149.21.70") MyUDP.Connect(MyIP, 27015) Dim Command As [byte]() Command = Encoding.ASCII.GetBytes(Chr(255) & Chr(255) & Chr(255) & Chr(255) & "players") MyUDP.Send(Command, Command.Length) Console.WriteLine("Sent") Dim RemoteIpEndPoint As New IPEndPoint(MyIP, 27005) Try Dim receiveBytes As [byte]() = MyUDP.Receive(Re…
Last reply by Al-z, -
-
- Administrators
- 11 replies
- 953 views
I have an application that is used daily by 20 people - each person runs the app on their own computer. It is entirely DB-driven (yeah, what's not). Is it better to open the DB connection on program load and keep open until the application is closed OR Is it better to open/close the connections only when needed? What's better and what is the reason?
Last reply by bri189a, -
-
- 2 replies
- 817 views
Hi, Am using Sessions to store datasets that are full of data from the database. In my web config file the session timeout value is set to 20 (I'm assuming that this is 20 minutes). I have also gone to IIS and in the properties for the default have set the timeout to 40 minutes. However the problem seems to be that my sessions are loosing the data they are storing after about 10 minutes. Any suggestions on what could possible be doing this? Mike55
Last reply by bri189a, -
-
- Administrators
- 3 replies
- 2.1k views
Hey , all developers...... My name is Cell, a VB .Net developer. I developed a VB .Net application that use Crystal Report for .Net. I am now trying to deploy my application to the client machine. However, everytime I run the installed application (in the client machine), I get an error message that says "Cannot find KeycodeV2.dll, or invalid keycode". I understand that when building the setup project for the application, I have to add the Crystal_regwiz2003.msn, set it's LicenceKey property. However, even I did all that, I still get this error message again and again P.S. The copy of the VS .Net 2003 ( and the crystal report for .Net, not full version of CR9) i…
Last reply by m2salih, -
-
-
- Administrators
- 2 replies
- 1.2k views
AllocateAndGettcpExTableFromStack this is an Ip Helper api function . Does anyone have or know of any examples for use this ip function in vb.net. Thanks
Last reply by al7, -
-
- 1 reply
- 585 views
I'm writing a windows app that send email. It' an extreme easy application, I just write MailMessage msg = new MailMessage(); msg.From = "myEmailAddress"; msg.To = "destinationEmailAddress"; msg.Subject = "subject"; msg.Body = "body"; msg.Attachments.Add(new MailAttachment("attachment")); SmtpMail.SmtpServer="smtpServer"; SmtpMail.Send(msg); no login, no password. Why? In this way I can send email from a email address of another person. What's the conseguences of this? Can I have problem from my host? My Application is finished but I don't want to have problem for using my email from an application like this one. Can you help me?
Last reply by kejpa, -
- 1 reply
- 1.1k views
I am using the setup and deployment for a visual basic .net project. When I install the program I need to create a few registry values in the users registry. The problem is that I need one of them to be a multi-string value and I cannot find that value type. All the values I found are string, environment string, binary, and dword. How do I create a registry value of multi-string? Any help is greatly appreciated. Thankyou
Last reply by bjay55, -
- 1 reply
- 641 views
I have two collection classes Customers and Orders that both implement ibinding list that are a collection of Customer and Order objects respectively. Individually they bind just fine to the datagrid but if i want to make orders a child of customers in the grid by adding a Orders property to customers a get a object doesn't match target error or something like that. After some research it appears the problem is that the grid is expecting the child to be of a Customers type. Any suggestions on how to make this happen??
Last reply by barski, -
- 3 replies
- 1.3k views
hi, can any one tell me how to use progress bar This bar should display when data is loaded from database in to datagrids. Thanks
Last reply by thenerd, -
-
- Leaders
- 2 replies
- 3.1k views
The following line of code is giving me a compiler error: _Level.StartPoint.X = 15 (Expression if a value and therefor can not be the target of an assignment.) _Level is a struct. StartPoint is a readonly property which returns a struct. X is a read/write property which is an integer. Why would this cause an error instead of assigning the value of 15 to the property .X? Note that the folloing code does work: Dim Start As Rom.MapCoord = _Level.StartPoint Start.X = 15
Last reply by snarfblam, -
-
- 2 replies
- 1.3k views
Hi Is it possible to call a stored procedure from another stored procedure in SQL Server 2000 Mike55
Last reply by pinster, -
-
- Leaders
- 4 replies
- 1.5k views
Hey everyone new here and to vb.net so first off I'd like to say HI :D So heres my problem I have written a gui for a security tool that checks password strenght (john the ripper). I am having a problem outputting the resulting output to a textbox. Now I think it may lie in my threading not sure. heres the code heres the code for the program to run Heres where the thread is supposed to read the output. Now I know theres something wrong it does print some text but seems to die or waits till it ends. Sorry if this is a simple thing I am missing this is my first appilication thanks for your help bax
Last reply by baxter, -
-
- 0 replies
- 3.3k views
How about allowing the ability of the forum to check the titles and msg prior to posting to the forum for words/phrases and the like; then prior to posting it represents to the poster a list of related posts to have the poster view; maybe the forum could do just a search for the poster using the already made search engine...
Last reply by antecedents, -
-
- Administrators
- 3 replies
- 3.8k views
Hi, In my code i want to open a mail template like when you click a mailto-link, so the person views the mail, but the mail uses a certain template. Certain things should already be filled in when the person gets the mail. Like send to, subject and some parts of the template. Other things have to be filled in by the person himself. after the mail is ready he just has to hit send to send the mail. So the mail should open in outlook using a template where parts are filled in in advance. Does anybody has an idea on how to start on this? thxs in advance.... greetz
Last reply by RTT, -
-
- 2 replies
- 934 views
Excuse me for being a bit of a newbie but I am having trouble with multiple forms. I use a code to open my form to be sure that only one instance of the form is open at a time but it is not working in the sitiuation I need it now. Basically I open a main menu form which can open a search form making a selection on the search form then opens the final form. My issue is I don't want 2 final forms open at the same time and I also want the search form closed when the final form is open and all this needs to be done while leaving the main menu form open. I understand the issue I am using a variable for the form and checking if that variable is nothing to see if the form is…
Last reply by whlatimer, -
- 1 reply
- 995 views
I am assigned with a task which I need to convert three type of files into tiff format. The file types are Microsoft Office files, PDF files and Graphic files. I need to make it as a library where every file I pass into the dll, the dll will then create a tiff based on the file type. And the output will be a tiff format file. I wish to have information on this. And I promise if I could make this thing works, I am willing to share this dll with everyone in the forum. The information I need are: 1. How to convert those file types into tiff. 2. Is there any existing library i could use as to reduce my works. Thanks i advance... Please help...
Last reply by DimkaNewtown, -
- 1 reply
- 3.7k views
I'm using a property grid in my application but several of the properties I want the user to input are folder paths. How can I add a folderbrowser dialog to a grid control? I've seen (and used) an example ofselecting a filename with the OpenFile dialog and tried to modify that. This is where I ended up but it's not working. Any ideas? Public Class FolderBrowserX Inherits FileNameEditor Private _InitialDirectory As String Protected Overloads Sub InitializeDialog(ByVal fbd As FolderBrowserDialog) With fbd .RootFolder = _InitialDirectory End With End Sub Public Overloads Overrides Function GetEditStyle(ByVal context As IT…
Last reply by RussGreen77, -
- 0 replies
- 726 views
Hey all, How do we get "Info Bubbles" to pop up when a user hovers over say, a command button? Basically help bubbles as the user navigates in the form... Any ideas? (preferrably in vb.net) Thanks Never mind... I found it From within the designer: 1) From the ToolBox, drap a ToolTip control to your form. 2) Check the properties of this toolTip1 object to make sure Active is set to true. 3) Click on your button, and in its Property page, set the ToolTip on toolTip1 entry. From code: private System.Windows.Forms.ToolTip toolTip1; ...... ...... this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.toolTip1.Active = …
Last reply by laredo512,
-
Who's Online 0 Members, 0 Anonymous, 95 Guests (See full list)
- There are no registered users currently online