I just had this throw a compilation error while refactoring some legacy (hence VB.NET) unit tests, where I wanted to just comment out one of the sample inputs to MBUnit:
<RowTest> _
'<Row("Something")> _
<Row("SomethingElse")> _
Which gave:
Attribute specifier is not a complete statement. Use a line continuation to apply the
attribu...
On windows authentication( intranet web application )
When the session is about to timeout, the client should be presented with a POP-UP that asks to click OK to extend the session or else cancel to timeout the session.
Which is the better way to accomplish this task.
By Using Ajax Call or By handling it in the code behind file...
Hey, I'm building a code editor app in VB.NET (Framework 4.0) and it opens all ".por" files into individual forms consisting of a MenuBar and TextBox (multi-line).
Currently I have 20 forms (all duplicates of the first on I designed) and if there are say 4 ".por" files in a directory, the first four will open up while the others hide.
I...
Hello,
I want to open a txt file and write into him numbers from 1 to 100. and put between every number enter.
Thanks
...
Hi Friends
how can i find the location of execute of my application in WPF (C# or vb.net) ?
i used this code on windows forms .
Application.ExecutablePath.ToString());
But IN WPF i had this message from Visual studio that : system.window.application does not contain definition for ExecutablePath.
tnx for ur attentions :)
...
How can I monitor live microphone input?
I've read this site but that's only for recording:
http://www.codeproject.com/KB/audio-video/cswavrec.aspx?df=90&fid=16677&mpp=25&noise=3&sort=Position&view=Quick&select=3005817
How can I monitor it live? Or change the input volume?
I'm programming on Windows Vista with...
I recently made a small app for a friend and then made it a public app, in doing so I forgot that it connects to my MS SQL DB and checks for values. Someone used Red Gate .Net Reflector to get my password and destroy it all. I've contacted their ISP and they are looking into it, apparently this person has a static ip with them.
So this ...
How can I make a textbox in which can be only typed a number like 12.00 or 1231231.00 or 123123
I've done this in a very long way and I'm looking for the best and fastest way.
Also the decimal separator must be culture specific.:
Application.CurrentCulture.NumberFormat.NumberDecimalSeparator
...
This seems really ridiculous.. what am I missing?
I have an access database with 5 tables.
I want to fill a dataset with the entire contents of the database.
Why can't it roughly look like this?:
dim dConnection as new oleDbConnection(connection info)
dim dAdapter as new oledbdataadapter(SelectCommand, dConnection)
dim dSet as oleDb...
Hello,
How can I create an ASP.NET page, that allows users to communicate with audio voice.
What must I do to accomplish this job.
Thanks.
...
how to get image header & trailers (jpg,bmp,png,jpeg) info in visual basic 2008, vb.net framework 3.5, visual basic programming language ?
...
I'm retrieving Windows XP license key with this function but it does not work for Vista and Seven. How can I get the license key at both of these Windows versions?
Public Function sGetXPKey() As String
Dim result As String = String.Empty
Dim RegKey As RegistryKey = _
Registry.LocalMachine.OpenSubKey("Software\Microsoft\Wind...
The application is vb.net front end and sql server express backend. The networks are always cabled LANs.
Installations are small with only a few users, none of whom would have any technical knowledge.
Very little technical support is ever called for and I'd like to keep it that way.
I don't know Java or Objective C or HTML/CSS/Javascrip...
In Windows Vista/7/2008/2008R2, is it at all possible to launch a process in a user's session from a service? Specifically, the local session would be most useful.
Everything I've been reading seems to say this isn't possible, but I figured I'd ask here before giving up completely.
My service signs on as Local System. I'm coding in V...
Hi,
Can somebody help me with this?
I am adding the text of a label into a datagridview. But before i do the insert, i want to check if the text does not already exist in the datagridview. I am stack. Need help.
Thanks in advance.
...
Hi, I have an application in VB 2008 Express that uses a DataGridView to display rows of information. I have a DataGridViewCheckboxCell on each row for selecting the row so the user can mass delete the selected rows. For some reason, whenever I try to select a row via checkbox it adds another row to the DataGridView, is there anyway to d...
"Not this again" I hear you say. Yeah, I know. But this one is different... I think.
The scenario:
I have a Windows service (running as SYSTEM) that consumes a remote WCF service. The machine sits behind an ISA proxy (no domain, and no proxy username/pwd) and I have added the proxy to my app.config. Here it is:
<system.net>
<defaultP...
I used to know vb6 and I need to make a quick application. I hope someone can help me with how to send keys to a minimized window in vb.net
thanks
...
Is the any sources for examples for barcode printing for zebra rw420 mobile printer?? which is CPCL langauge.
...
This must've have been asked before but I couldn't locate it. In a mixed code project (VB and C#) we were debugging some old Visual Basic code where a statement as follows could be found:
If Request.Params("xxx") <> "" Then
'do something
I considered this a bug as Request.Params could be null, in which case the statement would've b...