I'm using FileHelper to generate object's property. Here is an example of one property:
<FieldOptional(), _
FieldTrim(TrimMode.Both)> _
<FieldNullValue(GetType(String), " ")> _
Public StoreNo As String
As you can see the StoreNo will either have a value or " ", one of the business policy is to check if the StoreNo is empty or nothin...
I have a button and inside my button I have an image control. When the users click on the image I'd like to animate the button so it appears the button was pressed. I don't really care whether the actual button press event fires or not--it's the illusion of a button press I want to see.
Note: the only options I see on the web involv...
hey guys, like the title says, how can i accomplish this sort of a rewrite as simple as possible? is it with httphandlers or perhaps the asp.net routing? i am using version asp.net 3.5.
the problem is that i want any other requests to be ignored, like requests to .aspx files, images, folders and such for example:
i want these to get ha...
I want to use a FileStream and seek from the beginning of the file while moving forward in the file .01% of the file size at a time.
So I want to seek to a position in the file, read the entire line, if it matches my criteria I am done. If not, I seek ahead another .01.
C# is OK but VB.NET preferred.
I used to do it something like thi...
I'm deploying a standalone application (VB 2005 w/ Crystal Reports) using ClickOnce.
My users have different IP addresses that they use to map to the same networked drive.
The best way I've come up with to get the installer out to them is to publish it twice manually:
ip.addr.number.001/PublishedHere/001/setup.exe
ip.addr.number.002/...
Hello,
I am using Enterprise block and not able to figure this out.
I am using oracle procedure for inserting records into the database from my asp.net application in VB.net
Though it is inserting records as it should When I try to access the dataset returned I am not able to see the just inserted record details.
In my Oracle procedur...
Hi,
I get a compile error Type "ctltype" is not defined with this code.
This is .NET 1.1 legacy code so not good I know.
Anyone know why??
Public Function GetControlText(ByVal ctls As Control, ByVal ctlname As String, ByVal ctltype As Type) As String
Dim ctl As Control
Dim res As String
ctl = ctls.FindContr...
Every time I compile my app and the version number changes (I have an auto-incrementing build number), I lose the user-configured app.config settings, since they're stored in the AppData folder for a specific version. Essentially, every release of my application starts from scratch as far as user settings go.
While this is a mild annoya...
Hi
If i didn't place any date in the textbox ,system is capturing 1/1/1900 by default insted of Null.How can i get rid of this.
cmd.CommandText = "Update FormMaster set BriefingDate ='" + TextBox7.Text + "'
where FormID =" & Val(AutoID.Text)
cmd.ExecuteNonQuery()
Thank You
...
I need to get the address of an integer and assign it to an IntPtr to use in an API. How?
Dim my_integer as Integer
Dim ptr as new IntPtr
' This fails because AddressOf can only be used for functions.
ptr = AddressOf my_integer
APICall(ptr)
What do I do?
...
I need to develop an application that can search through a book and list out all the pages and lines that contain a given keyword.
For books that are split up in some other way, such as a bible which is split up by chapter and verse; they would be able to search for all verses that contain a certain keyword. Or alternatively, search wi...
I have this code to return a list of fund sources for our organization.
Dim FundSourceList As New List(Of FundSource)
Dim fs As New FundSource
If results.Count > 0 Then
For Each result In results
fs.FundID = result.Item("strFundID")
fs.FundDescription = result.Item("txtFundIDDescr")
...
I would like to automatically create an Outlook rule (move email containing something in subject to folder xyz) but dont know how to achieve this.
Of course I can create the rule and export it to a .rwz file. This file can be imported manually, but how can I import it automatically?
Can I import a rule through my VSTO 2005 Outlook (2003...
Hi,
Before the installation i need to set the [TARGETDIR] to my setup file programmically.. how to do this one in vb.net (visual studio 2008)
Please Help me..
...
I have been using a SharedAssemblyInfo.cs file as a linked file in my C# projects.
With the introduction of some VB.net projects into the solution I have done the same with those.
Although it does not give a compiler error, it does not 'add' the values from the linked SharedAssemblyInfo.cs file into the compiled assembly.
Any ideas?
...
I am writing a windows service that needs to be running 24/7. It is a pretty simple service that monitors a directory where files are dropped into and processes those files. I need to restart the service if an unhandled exception is thrown.
Is there a way for a service to restart itself in the event of an unhandled exception?
...
Is there any libraries for .net that will do node based editing like Posers shader nodes.
I would like to display a class and allow users to create custom formulas by dragging properties from 1 class to to seed the other class or other class properties.
Regards
See an example here link text
...
Hi,
I have the following condition
If InStr("a,b,c", stringA) > 0 OrElse (InStr("y,z", stringB) > 0 AndAlso value = 0) Then
endif
COndition 1 is false so i check for condition 2 that is "(InStr("y,z", stringB) > 0 AndAlso value = 0) "
What puzzles me is that when stringB is nothing it still falls into the if condition and executes the...
How can I detect when a client disconnects from the TcpListener ?
Each of my clients is handled in a separate thread.
...
By default the ultraWinGrid pops up a delete confirmation box for any row deletions. How do I turn that feature off?
If i'm deleting in the code, it's no problem:
myUltraGrid.DeleteSelectedRows(False)
But I don't know how to apply that when the user presses the delete key.
...