Search:
Type: Posts; User: cicatrix
Search:
Search took 0.22 seconds.
-
I've a class
Class DeclInfo
{
public int Year {get; set;}
public int Quarter {get; set;}
public int CorrectionNumber {get; set;}
// ...
} // class DeclInfo
-
That's true, I haven't quite grasped this new feature.
Basically, what I need is to call my sync method asyncronously.
I have a sync method Foo(object param), what I need is to write an async...
-
Hello, I'm trying to sort the things out with the new multithreading model using the await and async keywords.
Now I have a project where I have a lengthly method that I'd preferred to call...
-
From what I can see there's nothing wrong with your code provided the full name should be displayed in txtFirstName.
You use this line twice for some reason:
txtFirstName.Text = FullName
but it...
-
Man, the Windows.Forms namespace has that 'Windows' part which means that it is working with MS Windows application programming interface.
I'm not an expert in Android OS architecture, but I'm...
-
Got it working, even though I still don't understand why this was necessary. All I needed was to add the DragEnter event handler:
Private Sub TreeView1_DragEnter(sender As Object, e As...
-
This one works, but I need to drag nodes within a single Treeview. I can't understand why this isn't working.
-
Please, I'm on the verge of pulling my hair out. What am I doing wrong?
Basically I need to be able to drag nodes between different parents within a treeview.
The treeview simply does not acctept...
-
I looked, there appears to be 2 candidates:
GetTypedObjectForIUnknown and GetObjectForIUnknown, will try both. Thank you.
-
Hello, can anyone tell me how to cast IntPtr to a COM Interface?
I'm obtaining a pointer to an IShellFolder interface using SHGetDesktopFolder:
Dim sfiRoot As IntPtr = IntPtr.Zero;
Dim...
-
Here's what I remember from my school days:
if the sum of all digits in a number divides by 3 without a remainder the whole number is divisible by 3 as well
same thing with division by 9 - you can...
-
boops boops is right - 1/3 is perfectly rational whereas SQRT(2) is irrational.
-
Sounds like a homework. So, you'll need a loop (or two loops), two arrays and one condition.
Start a loop iterating along the 'x axis' of the array
Start a loop iterating along the 'y axis'...
-
I still think that this will be nearly 100% precise:
Dim i As Decimal
Dim j As Decimal
Dim result As Decimal
For i = 1 To 10
For j = 1 To 10
result = i / j
If (result -...
-
Keep in mind also, that there is a difference between an SSL certificate and a Code Signing certificate.
-
You can cheat a little. You can check if the string returned by .ToString() method is greater than a certain threshold (say, 4 figures after the decimal point) and cast such result out. This won't...
-
Take a look at this arcicle.
-
You can issue your own root certificate and the difficult part is to make your end-users add this certificate to trusted lists.
If you want a universally accepted one then yes, you pay for them....
-
Would it appear new to you when I say that a control can have no name whatsoever?
-
Your menu items are not in the .Controls collection of your form. They belong to the .Controls collection of your menustrip.
You should iterate through your MenuStrip.Controls collection to get your...
-
Here's an example (I took it directly from one of my projects):
Usage:
' you substitute actual values with parameter names in your sql command text (paramid):
Dim sqltext As String = "Select...
-
If your combobox is databound, set its DisplayMember property to "Code"
to databind your combobox you should set its DataSource property to the same one you use for your datagridview.
-
The whole purpose of the UAC is to prevent that from happenning. :D
-
There is development kit:
http://www.honeywellaidc.com/en-AP/resources/Pages/download.aspx?pid=IT4600
-
Does the scanner have any documentation?
At least, tell its model number and manufacturer
-
What your application does?
Do you use any unmanaged resources (COM components)?
Do you use multithreading?
This is an overkill:
If you have a windowed app just Me.Close() is usually enough.
-
Suppose you have several conditions to consider, for the sake of generality let's call them Condition1, Condition2 and Condition 3
Your query will be as such:
... WHERE Condition1 LogicOperator1...
-
The best way to do this is rather simple and is not related to programming whatsoever - use Windows Task Manager (WTM) servuce whish is designed EXACTLY for this purpose.
Of course you can build an...
-
This is very simply to check out - just add an explicitly created InsertCommand and check. I am maybe paranoic but I don't trust anything that is 'automatically created' :D
-
MSDN about InsertCommand:
http://msdn.microsoft.com/en-us/library/system.data.oledb.oledbdataadapter.insertcommand(v=vs.110).aspx
During Update, if this property is not set and primary key...
-
You just create a class that handles the interaction with a server. Then you pass the information the user had entered to this class, it sends it to server and then receives its reaction.
This way...
-
This is documented behavior. Most often people use data adapters just for selecting rows. That's why the constructor overload has the select command. Other commands should be added manually.
-
By default, when you initialize a data adapter you provide only SELECT command. You must also provide UPDATE, INSERT and DELETE commands if you want the adapter to update, insert or delete rows....
-
It's a question of design. Depending on your need the information exchange can be fully automated and require no user attention. This way you won't need another form, just a class that handles it....
-
You will obviously need to modify your client part to make it possible for it to communicate with the server and receive the necessary information from the server-side. All other elements can remain...
-
Then you should build a server application that runs on the server and waits for incoming connections (TCP/IP or http). The whole concept of a client-server app is too large to be covered in a single...
-
You created a listviewitem, but it doesn't belong to your listview - as if you build a car without wheels and then you create wheels. In order to make it a whole car you must install them on your...
-
See your TextFont.Height property for height.
And if you want PRECISE measurement use MeasureCharacterRanges method instead of MeasureString.
You might also be interested in playing with...
-
For j As Integer = 1 To ds.Tables(0).Rows(i).ItemArray.Length - 1
-
Try this:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
con.Open()
Dim da As New SqlDataAdapter("SELECT...
|
Click Here to Expand Forum to Full Width
|