Let's say we use NASM as they do in this answer: how to write hellow world in assembly under windows.
I got a couple of thoughts and questions regarding assembly combined with c# or any other .net languages for that matter.
First of all I want to be able to create a library that has the following function HelloWorld that takes this par...
Can someone enlighthen me with regards to Linq please?
I have a dataset that is populated via a SQL Stored Procedure, the format of which is below:
Country | Brand | Variant | 2004 | 2005 | 2006 | 2007 | 2008
The number of rows varies between 50 and several thousand.
What I'm trying to do is use Linq to interrogate the dataset (there...
I am looking for information on using mstscax.dll in VB. The goal is to create a utility that logs into a remote service in the same manner as remote desktop. However, my utility is not required to show the desktop.
I have a series of commands that I will start off with that will look for users, reset logins, shadow, and message. I have...
the following code shows invalid qualifier when executed
Dim strs As String
Dim insStr As String
Dim strRes As String
strs = "This is VB.NET Test"
insStr = "Insert"
strRes = strs.Insert(insStr)
Thanks in advance
...
I want to be able to determine if the web.config element
<compilation defaultLanguage="vb" debug="false" />
if the property is debug is set to true or false.
Public Shared Function isDebug() as Boolean
......
......
......
......
End sub
Thanks
...
I am trying to use NAnt in order to compile and sign an assembly using the vbc compiler. I have a project set up and am able to successfully sign the assembly compiling with VS2010. When I try to sign it using the command line I get this error:
vbc : error BC30140: Error creating assembly manifest: Error signing assembly -- The parame...
Hello,
I would like to come up with a simple application that would add a specific phrase into a specific location on a desktop application. I assume this isn't very hard, but I'm kind of new. Any help??
Thanks!
...
vb.Net multithreading question:
What is the difference between
SyncLock syncRoot
''# Do Stuff
End SyncLock
-and-
SyncLock Me
''# Do Stuff
End SyncLock
...
I've been getting "Connection forcibly closed" errors and in researching a resolution, I have seen suggestions to money with the following web.config options, which currently are not set in my web app.
Before I change them, I'd like to know what they are currently set to.
Can someone tell me how to read these values from .NET code, pre...
I am trying to input the data from textbox1 into the section for user= but can't get the syntax right. Please help.
Console.WriteLine(sqlQuery("INSERT INTO TESTDATA (User, Status) VALUES ('edavis','Passed')"))
...
I'm looking for a library compatible with microsoft.net framework that allows the creation and verification of XAdES signatures (XAdES, XAdES-C, XAdES-XL, etc...).
It is important that the library enable the programmer to choose:
1.- Type of certificate to use in the signature process (PFX file, Windows centralized store, SmartCard)
2....
Hi, I'm trying to connect to a SQL server from VB. The SQL server is across the network uses my windows login for authentication.
I can access the server using the following python code:
import odbc
conn = odbc.odbc('SignInspection')
c = conn.cursor()
c.execute("SELECT * FROM list_domain")
c.fetchone()
This code works fine, returning...
I moved from SubSonic 2.x to 3.0 and noticed that all my classes are combined into the ActiveRecord.vb(cs) file. Is there a way to have my classes generated individually in a separate folder (DAL) as I was doing with 2.x?
...
I have a vb.net application which does some processing. This processing can take a while. The application doesn't respond until the processing has ended and then it handle all events (such as click on buttons) that the user has done during the processing. I'd like to add a "Stop" button so that the user can stop the processing at some po...
VB.NET 2008 .NET 3.5
I hope my title isn't too misleading. I know what the three properties are/do, but have a question about their behavior that led me on a wild goose chase for a while.
I have a DataGridView that is bound to a BindingSource. The BindingSource is bound to a list of complex objects. The DataGridView contains a Comb...
Hello i Have a programa that has starts in a main sub, it executes some code and after that code it opens a form using
System.Windows.Forms.Application.Run(General)
General is a form but also a class, so I wonder what it the pros or cons of using :
System.Windows.Forms.Application.Run(General)
vs
Dim gen as general
System.Window...
I would like to attach an event handler to a Stop Watch. Can someone please provide a code snippet in C# or VB?
I'v Bing'd it with no luck.
...
what is the syntax to round up a decimal leaving 2 digits after the decimal point,
ex: 2.566666 -> 2.57
...
I have a fat VB.NET Winform client that is using the an old asmx style web service. Very often, when I perform query that takes a while or pass a large amt of data to a web service in a dataset, I get the subject error.
The error seems to occur in < 1 min, which is far less than the web service timeout value that I have set or the timeo...
I'm very interested in languages and their underpinnings, and I'd like to pose this question to the community. Are the following analagous to eachother in these languages?
C#
Foo bar = default(Foo); //alloc
bar = new Foo(); //init
VB.NET
Dim bar As Foo = Nothing 'alloc
bar = New Foo() 'init
Objective-C
Foo* bar = [Foo alloc]; ...