On a postback I'm setting the value of one of my textboxes to a grave accent. This is causing a bunch of the HTML that follows to be shown in the textbox instead of the grave accent. What am I doing wrong?
...
I have written a window service. and I am able to successfully install/run the service. Now I have added a timer to the service and I want to be able to adjust the interval via the registry. But I can't figure out why GetSetting("MyAppName", "MySection", "IntervalSetting") will NOT return the value in the registry!
Am I missing som...
I'm handling the Application.UnhandledException event in a WinForms app and need to log exceptions caught there. My app.config is set up to log exceptions to a FileLog and an EventLog.
The problem is that when running as a non-admin user, the EventLog cannot be written to because of a SecurityException - I get the message "The source wa...
during design time i cannot figure out how to resize the datagridview columns in vb.net!
...
Hello. What are their differences? What can you do with one that you cannot with another?
Thanks
...
Actually I am working on an application in which I want to add training apart from SAPI default trainings. Because I am manipulating English Language to form a meaning word in my own language although it is not a standard but my supervisor requirement is to use some proper nouns into SAPI therefore I am facing difficulty in adding my own...
Hello,
I have a function Process(data, f) where data is a normal parameter and f is a function needed to process the data (passed as a delegate to Process)
The signature of f is int f(a,b,c), with a, b, c supplied by Process when it calls the delegate.
Up until here, standard delegate usage.
Now, I have a special but common case wher...
I'm trying to do this with no luck so far.
I'm listening for the WM_SETCURSOR messages and setting the cursor there, it works most times, but not always. I've seen two other cases that I need to catch:
WM_PAINT: At least after a WM_LBUTTONDOWN the cursor is painted somehow without calling WM_SETCURSOR...
WM_CAPTURECHANGED: Happening s...
hi guys,
I have a repeater which contain thumbviewer.I used following code to bind repeater
Dim files As IList(Of FileInfo) = New List(Of FileInfo)()
Dim dtDoc As DataTable = objdoc.GetDocDetails(Session("RegID"))
Dim filters As String = "*.jpg;*.png;*.gif"
For Each filter As String In fi...
I've installed a vb.net windows service on a Windows 2008 machine, that is attempting to connect to SQL 2005. The service starts succesfully, but can't see the database. The event log has the following entry.
The description for Event ID 0 from source SU4.ESMR.DAL.Job.FillPriorityJobByType(oJobDS, TypeID: 3 cannot be found. Either the c...
Hi,
I have been using Visual Studio 2005 and 2008 and i have noticed that sometimes when i place break point in my code that it does not want to go to the break point. So i restart my PC and then it works again. Its like something get's stuck? Does this only happen to me???
How can i prevent this! It is driving me nuts!!
Thanks in adva...
Here's a question where my real world programming inexperience shines through. I have a function which makes a call to three other functions:
Public Sub StartService()
RunSearch()
SaveMessages()
DeleteMessages()
End Sub
within each of the methods RunSearch(), SaveMessages() and DeleteMessages() I am using Try Catch statem...
I am creating a Boggle clone game and it works very well so far.
Right now it is only single player. I would like to make it so that other players can connect, and show up in a listbox, and then I can select that person and play a 3 min round with them.
What would be the best way to accomplish this?
I know a lot about VB.NET, but I ...
Dear Friend
How can integrate particular Third party tool with my vb.net application
Plz help
thanx in advance
...
Not sure if I have the correct subject line. Here is my issue. I have a form with 2 GridView. One GridView has a list of all zipCodes. The users is to select a location from a dropdown list, then select the zipcodes he/she wants to be assigned to that location and then click the "Add" button. The zipcodes then appear in the second GridVi...
I have created a windows service that has the Account set to user. Which means that when I install the service I need to pass a user name and password. Is there a way to set these maybe in the ProjectInstaller class maybe in the BeforeInstall event? if so HOW?
...
I'm using LINQ to SQL as my data access layer for a new project. I have added my database tables to the designer and all is well.
Whenever I use one of these classes in a function, Visual Studio warns me that 'Type xxxx is not CLS-compliant' or that 'Return type of function xxxx is not CLS-compliant'
Is this a problem with the classes...
We have two services developed in Visual Studio .NET 2008 with VB.NET. Both were developed completely separately by separate individuals (one of them being myself), but both are reporting the same error during boot: "service hung on starting" appears in the System event log after booting. The services proceed to start up fine after tha...
I need to do this in order to create a dynamic background brush for a custom control (inherits ContentControl). My custom control has two dependency properties: StartColor and EndColor. In the control template for the custom control, the control is wrapped in a border that's background is a RadialGradientBrush with gradient stops. one gr...
This is really odd that I can't seem to find out how to do this, so I'm wondering if I'm missing something obvious.
I'm wanting to put a menu on our application like is found in Word and Excel, File -> Send To -> Mail Recipient (As Attachment)
Our requirements are to create and display the email with the attachment, just like Word and ...