Could some tell me the difference between 32bit and 64bit .NET assemblies?
I understand when it is needed to be precise instead of selecting AnyCPU configuration.
Regards,
Mita
i am publishing an app in vb.net. it's creating setup.exe and a folder called application files. i am told that setup.exe is stand alone and does not need any other files. is this right? because when i put setup.exe in a different directory it says that some files are missing.
The .NET ComboBox autocomplete will not fully autocomplete with the display text contains a slash. It completes only up to the slash, leaving SelectedIndex == -1 and SelectedValue == null.
This behavior stupidly persists no matter whether your autocompletesource is set to ListItems rather than FileSystem or URL.
Is there any workaround for this that doesn't involve just throwing the ComboBox class away and writing a "MyComboBox" class?
I recently moved to Visual Studio 2010 and upgraded my website to work with .NET Framework 4. (From VS 2008 - Framework 3.5)
What are things I need to know to improve site speed, readability or memory use?
For example, I found out that when I use AJAX ScriptManager, one of it's new properties is EnableCDN which enables me to load AJAX .js files from Microsoft CDN.
What error handling should be used in VB.NET?
Should you use the "On Error Goto ErrorHandler ... Exit Sub ErrHandler ... End Sub" pattern or should you use the "try { ... } catch { ... } finally { ...}" pattern?
Hi all,
I'm looking for a .net library that will enable me to extract block attributes out of a autocad file. I don't mind paying for a developers licence but I should be able to freely redistribute the library itself without additional costs.
Is there a lib that suits my needs?
greetings,
Coen
With plain old sdl in C i would copy the dlls i need into the exe directory and was able to run without install.
Now i am using sdl.net. I tried doing that but had no luck. Not even a clue to what dlls are missing as i did in the old C way. How can i have users run my sdl app without installation?
There are many Logging frameworks for .NET, from simple Debug.WriteLine and Trace to Log4Net, Logging application block, NLOg and others.
Which one do you use or recommend, and why?
Also, which one would you recommend to NOT use, and why?
I need to use the RGBRast software renderer for a DirectX application I'm developing. Currently I'm just including the DLL with my install.
I have read a few places that it is also included with .NET 3.5 SP1. Is this true? If so, where is the DLL located?
This redistributable component can be downloaded from:
http://www.microsoft.com/downloads/details.aspx?familyid=57d03491-6c49-4429-bff7-130408b5f410
I need to compare tables with the same names in different databases ( Sql Server 2008 ). How using C# code and ADO.Net to identify additions, deletions, updates. Is DataReader going to work in this scenario without stored procedures ? DataReader seems to be suitable for single database connection, or am I missing something ?
Hi there,
I need to create a .Net windows service to monitor a mailbox and process attachments (if found) on the emails and then delete the email from the server.
I have two questions I'd like your thoughts on:
POP3 or IMAP to connect to the mail server?
Which POP3/IMAP library should I use. At this stage we're just doing a proof of concept, so a free one would be my preference.
Cheers!
I need to calculate averages, standard deviations, medians etc for a bunch of numerical data. Is there a good open source .NET library I can use? I have found NMath but it is not free and may be overkill for my needs.
Assuming daily certain up to date database is produced via loading from various sources.
Changes need to be applied to historical database based on uid, new records will added , non existing will be softly deleted , some will be updated. Is Ado.Net and Sql statements the most appropriate technology for the task like this ?
Need Help in converting this to VB.NET
public void GetCustomers(Action<IEnumerable<Customer>> onSuccess, Action<Exception> onFail)
{
Manager.Customers.ExecuteAsync(op =>
{
if (op.CompletedSuccessfully)
{
if (onSuccess != null)
onSuccess(op.Results);
}
else
{
if (onFail != null)
{
op.MarkErrorAsHandled();
onFail(op.Error);
}
}
}
);
}
Hello
I have a .NET CF project. In the project directory I put a simple xml file (users.xml) which has to be read by the device. When I debug the application on device emulator and try to load the file from code, the Exception is thrown (FileNotFoundException "Could not find file '\users.xml'.").
Is there a mechanism to automatically deploy also configuration files to a device emulator?
I have implemented the javascript function that allows me to do a .NET (4.0) postback
Javascript
_doPostBack('_Page', argument)
C#
public void RaisePostBackEvent(string eventArgument)
{
//something happens
}
Is it possible to pass through more then one argument?
I am an experienced C/C++/C# programmer who has just gotten into VB.NET. I generally use CType (and CInt, CBool, CStr) for casts because it is less characters and was the first way of casting which I was exposed to, but I am aware of DirectCast and TryCast as well.
Simply, are there any differences (effect of cast, performance, etc.) between DirectCast and CType? I understand the idea of TryCast.
What are some common mistakes made by .NET developers, and how can we avoid them?
For example, trying to open a file without checking whether or not it exists, or catching an error unnecessarily.
Please look in to the list before posting new
Please justify your answer as well, if applicable and give examples.
Is there any .NET implementation of any planarity testing algorithm like Boyer-Myrvold's or anyone else? I looked through the web but I didn't manage to find
I am using 3.5 framework of VB.NET 2008.
I have some textboxes in my form. I want the tab like behavior when my user presses ENTER on one of my textboxes. I used the following Code:
Private Sub txtDiscount_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtDiscount.KeyPress
If e.KeyChar = Microsoft.VisualBasic.ChrW(Keys.Return) Then
SendKeys.Send("{TAB}")
e.Handled = True
End If
End Sub
But It doen't work for me.
Please give me a solution.
Hi,
I want to detect if a window form is open and if it is then I would like to bring it in front rather than opening it again.
I know I need a form collection for this but I want to know if there is a built in form collection that holds all the forms in VB.NET or I need to implement my own.
Thank you.
Simple question:
What is the pattern for the word character \w in c#, .net?
My first thought was that it matches [A-Za-z0-9_] and the documentation tells me:
Character class Description Pattern Matches
\w Matches any \w "I", "D", "A", "1", "3"
word character. in "ID A1.3"
which is not very helpful.
And \w seems to match äöü, too. What else? Is there a better (exact) definition available?