Answer Questions
Meridian How to extract text from string
Hello readers, I have a string which is a stream of a URI. I would like to know how I can go about extracting text from that string I only want to save certain text that show up on the web page, to a table and discard the&n ...Show All
Glider Set Property via string (possible bug)
Ok I have done up a bunch of code, but in my code I would aways have the size and location set directly I only needed to set other properies via string. I recently ran into this problem. Ok I pop a button on the page (winforms) a ...Show All
SPARK1 Webbrowser can’t be seen after the size has been set
Hello, I'm using the SHDocVw.dll in vb.net 2.0 to create a webbrowser, so far I have been able to do almost everything I want with the browser but one thing is driving me crazy!!!! When a new window is created I size the window form and the browser control to the new value, however after everything is sized the webbrowser control disappears and it can only be seen again after the form is resize. Why is this happening I have change my code a ...Show All
goldencr my custom component and the TOOLBOX
hi, I have a customer component that inherits from the Treeview. When I want to use it it's not in the toolbox by default. I have to use the add/remove dialog and browse to the output .dll and then pick the components i want to be available in the toolbox. this works but there are drawbacks. is there another way to make my custom components available in the toolbox by default If so, how Thanks, Andy That doesn't seem to work for component ...Show All
moh_youngo Is creating form objects and disposing them better or using Activator.CreateInstance()?
I'm building an MDI application, and when user clicks various menus I want to load the child forms only if it is not loaded previously. I came up with two versions of methods to create the child form when menu is clicked. In the first version the calling method creates a Form instance, and in second version it sends Form's type. Both version work, but can experts explain which is better private void ShowChild( Form formToShow) { ...Show All
SmSm241 DataGridView - when I select an item in a combobox i dont want a new row of comboboxes
Hi everyone, I've searched the forums far and wide and I cannot find an answer to my question. Basically, I have a form with a number of items on it including a datagridview. I have a sub in this form which initializes the datagridview with a number of combobox columns (all pulled from different datatables), and because I have used raw queries to populate the datatables, all columns are unbound. Whenever I select a value from any combobox, a new ...Show All
gmcbay Outputting to TextBox after certain intervals!!!
Hi all, I have to output data to textbox, however, i want to display one line of text at a time. The second line should appear after two seconds. I tried to use Thread.sleep() , but it didn't work for me . While using System. sleep(1000) though it waited for some time but then it sent all the ouput to textbox at once. What should i do Suppose as i have three lines of text as in " Hi all " "Please answer my question.." "Bye alll" I want above th ...Show All
Charles Adams How to access outlooks addressbook
I have a winform app where I need to send e-mails, I'm using the System.Web.Mail class, but I'd like to retrieve the addresses from our outlook mail server, if I try to do this using the outlook COM assembly when I try to do this  ...Show All
BabuMan Win32 v Windows Forms v Windows Service
Hello all, Could someone explain to me the difference between win32, windows forms and a windows service Cheers, Padraic Thanks Derek, One last question. If I were to create a windows application is using windows forms sufficient Do I need to create another program to interact with the windows forms Hi there, Win32 is just a way of saying Windows 32 bit. In a programming sense Win32 is unmanaged native Windows 32 ap ...Show All
msraja Changing the color of a String
I'm using VB.net, and I want to change the color of a string at runtime. I'm using this string in a TreeView, so I can't use a textbox, ect.... Is there a way Thanks, Moe ...Show All
Mehdi_Becario problem with mirrored listview
I created a class that inherits ListView and overrode the function CreateParams : protected override CreateParams CreateParams { get { const int WS_EX_LAYOUTRTL = 0x400000; const int WS_EX_NOINHERITLAYOUT = 0x100000; CreateParams CP; CP = base .CreateParams; CP.ExStyle = CP.ExStyle | WS_EX_LAYOUTRTL | WS_EX_NOINHERITLAYOUT; return CP; } } so basicly it supposed to mirror the content. now, the list view is in Details ...Show All
MikeGale Communication between windows services and windows applications
Hello everybody, I know how to send a custom command from a Windows Application to a Windows Service. Is it possible to send a custom command from the Windows Service to the Windows Application Thanks in advance, Panagiotis. What you're talking about is inter-process communcation. Try the following google link: http://www.google.ie/search hl=en&safe=off&q=.net+interprocess+communication&spell=1 ...Show All
paulains GDI+ graphics and viewport
Hello, I am using .NET 2.0 and building a custom control. There are multiple graphics elements that I would like to render on the surface. When drawn together they form the complete control image but need to be managed separately because they might have different scale, units, move indendently, and are updated at different times for different reasons. My idea was to maintain several buffers or graphics objects that I could use draw into an ...Show All
Jan V How to get rid of very first auxilary column in DataGrid?
I mean a column which contains starts and arrows :) Thanks, truetype I use DataGrid. By the way, what is DataGridView Does it belond to .NET Framework 2.0 I use Framework 1.x truetype The DataGrid or DataGridView Assuming you mean the DataGridView then you need to set RowHeadersVisible to false. Joe DataGrid has the same prop ...Show All
johnlaus Changing the font size of a textbox programmatically
Hey Everyone, How does one change the font of the textbox programmatically. This code: textBox1.Font.Size = 10; does not work since its a read-only property! I need to change the font size every time a click a button making its larger and larger. Any help with be greatly appreciated! Hey PJ, that works, but this is my situation. I have a Panel that enlarges and gets smaller when the user scrolls in and out. This Pa ...Show All
