Search:
Type: Posts; User: mpdeglau
Search:
Search took 0.12 seconds.
-
Well I came up with a way. I'm not sure if it's the best way. But it works.
I modified the js to raise an event that the .net form processes. The js passes in the html source, which is the must...
-
The javascript adds a class to a dom element that the user clicks on. So the javascript doesn't do anything until there is user interaction.
-
I'm loading HTML into the web browser control, and adding a bit of javascript that hightlights a section of html when the user clicks on the area, by changing the classname. If you know the FireBug...
-
Thanks, that worked. I knew it could be done with regex. For some reason I just can't grasp regex. It's usually pure luck if I can figure out the correct pattern to use, and that's always a simple...
-
I have an app that has a paragraph(s) passed in, and I need to figure out how many sentences it has.
Right now, this is how I'm doing it:
private long getSentenceCount(String text){...
-
Are you sure you have the correct path for the image? And you rebuilt the control? And the image you are using is a bitmap? I'm just assuming it has to be a bitmap because of what the Atribute is...
-
Imports System.ComponentModel
<ToolBoxBitmap("c:\PathToImageLocation.bmp")> _
Public Class YourCustomControl
End Class
-
Sounds like fun.
Do you have a question about your project? Or are you just letting us know what you are up to?
-
What do you mean by passing data from one user control to another? Pretend we have no idea what your project is and what you are trying to do. The first thing that comes to my mind when you asked...
-
You'll want to use the InnerText property of the item. If you want to become a guru you will want to become very familiar with this site. When you have a question about what property to use, or what...
-
The Windows.Forms.Timer does not work in services. You need to use the System.Timers.Timer.
-
No it won't work...Once the application is closed everything stops. It you want this to work without the application running you'll want to do it in a service.
Just to note the...
-
Found it (I think)
http://www.ftponline.com/vsm/2001_12/magazine/columns/desktopdeveloper/
-
I didn't read this article completely. But it looks like it has all the info you'll need.
http://msdn2.microsoft.com/en-us/library/aa288037(VS.71).aspx
-
I don't think there is a limit to the amount of form timers you can use. You are correct the System timer and the Threading timer don't have tick events.
The system timer has an elasped event. A...
-
BringToFront should be bringing your form to the front, as long as nothing is stealing focus afterwards. But something you may want to consider is assigning the main form as the search forms owner. ...
-
It's up to you which timers you want to use. You could still use the ideas I posted. If you wanted to use events, you can raise a different event for each task, or pass an argument which would tell...
-
The timer shoudl probably be on the Main form.
There are 2 ways that I can think of off the top of my head to do this.
1. Pass a reference of the timer on the main form to the mdi child when...
-
No problem. Don't forget to mark your thread resolved in the Thread tools at the top of the page.
-
It's not easy in .Net, and I'm not sure if it can do it to the extent that you want it done. But what you want to do is called reflection. This might be a good place to start reading up on...
-
You would want to do that in the forms Pain event. When you use the Paint event you don't need to create the graphics object. Ii is one of the properties provided in PaintEventArgs variable that is...
-
Here is a work around to getting it that should work:
Dim str As String = Environment.GetFolderPath(Environment.SpecialFolder.Desktop).ToLower
Dim str2 As String =...
-
The form has 2 closing events, FormClosed and FormClosing. Move the code that is in the exit button's event to one of these. Then just call close from the exit button.
-
Look at the Find method in the Nodes property of the treeview.
-
Any drawing that is done using GDI+ should be put in the paint event of the control. You are painting your doors once. But once the control is repainted for some reason, which can happen when...
-
Not sure what you mean by parallel code? Could you explain that a bit more?
-
Well no one here is going to be able to help you directly because no one knows what dll you are using.
Is this web browser a custom control that you are planning on adding to your own form? Or...
-
The starting point of the rectangle is always the top left. You just need to do a little basic math if you don't have that value.
You have the x, y of the lower left lets say 5,100
You have the...
-
For some reason on some computers csc.exe crashes, and then freezes my app. If I end the scs.exe process, my app runs fine. I know csc.exe is the c# compiler.
Why would a vb appliction be...
-
I could be mistaken, but I believe that emails that are sent out that have color, images, bullet points ect.... are done in HTML format. So if you add html tags to your string variable that would...
-
Look at the math class. Specificly the Round function.
-
Here is a project done in c# that looks like it does what you are asking.
http://www.codeproject.com/useritems/AudioLib.asp
-
It looks like you're going to need to use a few APIs. Take a look at this link. It's one of the API's you'll probably need to use, and it has an indepth exmple using the mixer. The sample is in vb...
-
You need to use the System.Timers.Timer not the Windows.Forms.Timer. You can find the System.Timers.Timer component in the toolbox under Components.
-
'assuming you are calling this from the parent
Me.MdiChildren
-
To allow the user to use a class of there own you would need to create an interface the user implements. This interface would then have the procedures and properties that you expect. The user would...
-
What is the problem you are having? Is there an error?
The problem is occurring at tvSelected.SelectedNode = tnAdd? Have you stepped through the code to see if it is running that line of code?
...
-
windows.forms.Cursor is available in the compact framework. This is the class you use to change the cursor.
http://msdn2.microsoft.com/en-us/library/system.windows.forms.cursor.aspx
-
I'm going to assume that getThis is a function that returns an integer. Is this correct? If it is this is how you would want to set up your procedure
Private Sub populateCB(ByVal cb As CheckBox,...
-
First, just for future reference, if you enclose your code in [Highlight=VB] [ /vbcode] (remove the space between the bracket and /) tags it makes it much easier to read.
There are a couple of...
|
Click Here to Expand Forum to Full Width
|