Answer Questions
soung Hiding, but not overiding or replacing, a inherited property
My last thread was locked before I could get my question anwsered, but i realize that the moderater did it because he thought my question had already been anwsered, which is my fault because I did not explain my question clearly; I am a poor writer of English. I know that the forums must be kept clean, so let me refrase my question: I want to make the Height property not useable from outside the class I inherited from usercontrol, but it is not virtual so I can NOT use the override and browsable(flase) method, I cannot use the new key word because I still need the height property inside of my class. Any suggestions would be much appreciated. Yes you can use New . Use New to hide the property and set t ...Show All
Wojo Can not run asp.net on Visual Studio 2005
I created aspx pages in a web site using Visual Studio 2005 on Windows XP Home Ed. I think I got it to work before. One time when ask if I want to block internet, and I answer yes, then it stop working. I got 2 error messages. First dialog box message: ASP.NBET Development Server failed to start listering on port 1455. Error message: An invalid argument was supplied second dialog box message: Unable to connect to Visual Studio's localhost Web Server How can I fix this problem, please help. Thanks ahmedilyas is correct, you must have the professional version of XP. In order to recieve quicker and better answers to your ASP questions please use the following forum: http:/ ...Show All
JpLindgren Opening csv files through web
Hi, I'm using the following code to open a csv (comma separated values) file over the web. The problem is, when Excel opens the file, it puts each line in the first cell of each row, completely ignoring the commas. I tried using other content types, but they all do the same thing. Any help would be great. Thanks. <% Response.buffer = TRUE Response.ContentType = "application/x-msexcel" Dim vntStream Set oMyObject = Server.CreateObject("MyObject.BinRead") vntStream = oMyObject.readBinFile("c:\temp\tempcsv.csv") Response.BinaryWrite(vntStream) Set oMyObject = Nothing Response.End %> Function readBinFile(ByVal bfilename As String) Set oFSO = CreateObject("Scripting.FileSystemObject") ...Show All
jamba8 Winsock OR TCP connection + SSL
Hi, I am making an Email reader program, and I need to use POP3 servers. I learned the protocol so I'll could use winsock for the connections. The problem is, that a lot of servers require SSL connection, and I don't know how to open one... I know there is a way with the TCP socket, but I don't know how...... :( Can anyone tell me how Thanks, Ofir. Please!! Doesn't anyone know how to connect through TCPclient and SSL to a server and comunicate ! ! ! ! If we for a moment ignore the SSL part, do you know how to connect to the server by using the TCPClient class Best regards, Johan Stenberg Jeff, could you please describe the problem ...Show All
Mehmet Metin Altuntas Redirecting Processes's StandardOutput! Need a help here.
Hello VB developers! I got a problem redirecting processes's standardoutput! I'm trying to put all the output of a console application in a textbox in my project, but I can't! =/ I have developed this code in Visual Basic .net 2003 to do it: Dim Proc As New Process Dim pInfo As New ProcessStartInfo(Textbox1.Text) 'In text1.text I got the file path pInfo.UseShellExecute = False pInfo.RedirectStandardOutput = True Proc.StartInfo = pInfo Proc.Start() Textbox2.Text = Proc.StandardOutput.ReadToEnd() But I think nothing is changed in the textbox. Hugs! Almost certainly your C application which appears to be doing something in a loop and clearing the screen each time. Not your typical console application beha ...Show All
Alex Hoogendoorn for loop issues with concatenating variable with text box
I have 10 text boxes textbox1, textbox2 ...etc I want to modify them with a loop this code does not work Dim w as int For w = 1 To 10 Me.TextBox & w = someStringArray(w - 1) Next w it does noe like the &, I tried + and () and [] and nothing works. Any suggestions thank you. VB6- For w = 1 To 10 Me.TextBox(w ).Text= someStringArray(w - 1) Next w VB05 For each c as Control in Me.Controls If TypeOf c Is TextBox then Dim t as textbox = Direc ...Show All
cplusplus1 form1 disappears
form1 appears as blank screen when code runs using visual studion 2005 visual basic. code for program me.show() it is blank white. program error occurs, The me.show is immediately before the program terminates at end. In debug mode when the program breaks due to an error the Designer surface is a blank white. This is because all processing in cluding the forms paint events are brought to a hault. Where do you have the line of code "me.show" JohnWP wrote: The me.show is immediately before the program terminates at end. Do you have it in a method Please show the method and surronding lines of code... You should get away from the GoTo's and Stops the are hold overs from previo ...Show All
R Raghu Panning more quickly
I am making a program that displays complex graphs in a PictureBox that take a long time to render. Currently I draw the graph in PictureBox_Paint. When the user is panning the view, I want to stop drawing the graphs and instead display a previous 'Screenshot' of what the graphs looked like when the user started panning. So far I've done this: Private Sub PictureBox1_MouseDown( ByVal sender As Object , ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseDown Moving = True MovingImage = PictureBox1.Image End Sub Private Sub PictureBox1_Paint( ByVal sender As Object , ByVal e As System.Windows.Forms.PaintEventArgs) Handles PictureBox1.Paint Dim g As Graphics ...Show All
Patrick Tremblay get the location of "start button"
Hi Everyone, How could i get the position of the Start menu's button (i mean the Start button of Windows) in vb.net Thanks a lot; my only goal is to get known when a user clicks on the start menu and disable it, instead of it show my own form... this is what i want to do... exactly to integrate my own form into windows instead of its built in start menu... could you help me in this Or how could it detect when a user clicks on it, and disable the start menu to show up The thing is that the reason you're wanting to do this is important. If you're planning on writing something to pull a prank on an annoying fellow co-worker or something, you could get away with something quick and dirty like getting the handle for S ...Show All
FernandoAlvarez I Have a new question?????
I have 3 classes that are my companies ok 1 works fine with no problems or quams ok, the other two if I remove the references to the other working class they work fine, However if I add reference to the first class and try to use it I am inundated with messages to send to MIcrosoft so that they can tnker and find the root cause, all I am compiling are classes there are no heavy graphics or aspx pages. these are classes that are migrated from 2K3 where it works fine no warnings no nothing... Now the first class i mention is a comment class, companynameComment, which references CompnayNameutilites, and runs no sweat. CompanyNameUtilities references CompanyNameComment and does not run until I remove this reference, I thought it had something ...Show All
jonathan03 UDDI registration HELp Developers !
What shall I do to get registered to Microsoft Test UDDI Registry HELP Absolute HELP ! Cris JO91, I hope that this knowledge base article titled How to publish an XML Web service to an internal UDDI server by using Visual C# .NET 2003 will help you with your problem. http://support.microsoft.com/kb/833380/en-us ...Show All
AustinMyers Max form size
is there a way to set a form to the max screen size, it gets old going back and forwards making sure it fits. I have been using table layout panels to help make my forms, if I am right, those do scale to the form, requardless of the size of the form, I think Davids Learning There are two quick and easy ways you can set the form's size to be the max screen size. You can either set it's WindowState property to Maximized either in the designer or in code, or you can set the form's Location and Size properties based on the primary screen on the system like so: Me .Location = Screen .PrimaryScreen.WorkingArea.Location Me .Size = Screen .PrimaryScreen.WorkingArea.Size Be su ...Show All
cheesenhomer Select Case statement being evil
The select case statement is out to get me! Has anyone else run into the trouble of having a Select Case statement and one of the case statements has hit if you look at the data, but refuses to hit anyway That probably doesn't make sense... Put it this way... I have, say, a ListBox control that has three IP addresses in it. For argument's sake we'll say the three items are: 192.168.0.1 192.168.0.2 192.168.0.3 These items have the indices 0, 1 and 2 respectively. Now, inside a function that receives a string of data (T) from a network user I have code that's something like this: Dim X As Integer For X = 0 To (ListBox1.Items.Count - 1) Select Case ListBox1.Items(X) Case T 'Code segment 1 Case Else 'Code ...Show All
Ron L listbox
Hello. A question please. Is there a way to display 2 fields of a table in a listbox I use the displaymember property. Thanks... Thanks. How do you set the displaymember for the listview I'd want 2 columns. NetPochi, According to your demand, I will give you two pieces of advise. 1. To ListView, I think you can use the ListViewGroup class that represents a group of items displayed within a ListView control. Please take a look at the code example on this class in the link: http://msdn2.microsoft.com/en-us/library/system.windows.forms.listviewgroup(VS.80).aspx However, I don't think it is a solution to show the two column in a control. 2. To ListBox, I s ...Show All
incognito79 Compile VB to one EXE
Hi, I made a Visual Basic program, using Visual Basic Express Edition 2005. It contains several files, after it is published. Is it possible to compile these into one exe file that the user can run Create a setup to install the application. Click Once should enable you to deploy the application to a file share / web server and allow for a simple deployment from by using a URL. Otherwise if you have a version other than express - you can create a windows installer application. if your code files are under same project, it should compile into single exe yes, it does form one exe, but it also forms a .application file, as well as a folder with the ...Show All
