We have this method call:
SendAck(AppData:=AppData, Status:=Status, StatusMessage:=StatusMessage, IsApplication:=IsApplication)
And here is the definition:
Private Sub SendAck(ByVal AppData As XDocument, ByVal Status As Boolean, ByVal StatusMessage As String, ByVal IsApplication As Boolean)
Why does the call have the parameters wit...
for example i have two strings 0000 and 0001 then
0000
0001
----
result= 000- here difference is indicated by - sign
...
I have a button on the page and a gridview with checkboxes on the first column. The gridview is bound to a List. On buttonClick, I need to retrieve the underlying bound data item (MyEntity) for each selected row. How can I do this? I can't simply recreate MyEntity based on the gridview columns, because I am not displaying all the fields...
Hi, I have this application that I haven't created and I don't have the source for. But it's really handy in handling and recording the time I've used on different projects. But it has this annoying pop-up that comes up that contains a window and some debug text I believe. It wasn't done by a professional, it was just a hobby project. Ev...
Can I create a tooltip that will show up when a user moves his/her cursor over an image? I can't find such a property in Visual Studio, and I've scoured Google to no avail. I'm using an image in a PictureBox.
Here's to anyone out there on StackOverflow instead of some awesome Halloween party! Yay!
...
Hi,
Is there any possibility of using something like FindFirst, FindNext, FindLast methods, that we use in VB6? I need to search my database before adding record, if record under current name is already there or not.
Say I have a telephone book, I donot want any name to go again without warning.
Thanks
Furqan
...
I am making use of an ASP.NET Masterpage. I have 3 tables as Columns in my Masterpage. The first table load then the second table that contains my "ContentPlaceHolder" and then table 3.
How or what must I do to load table 1 and then table 3 and then lastly the table 2 that contains the "ContentPlaceHolder"?
...
eg. i have records like this in my table.
Name Date Salary
Raja 01/10/2000 5000
Raja 02/10/2000 5000
Raja 03/10/2000 5000
Anu 01/10/2000 3000
Anu 02/10/2000 3000
Anu 03/10/2000 3000
King 01/10/2000 4000
King 02/10/2000 4000
King 03/10/2000 4000
i w...
I have done it till 68th slide of this file
http://webdocs.cs.ualberta.ca/~amaral/courses/329/webslides/Topic5-QuineMcCluskey/Topic5-QuineMcCluskey.PPT
But i don't know how to further implement it and get right answer.
The problem i am facing is how i can do that.
0,1,8,9 -00-
0,2,8,10 -0-0
2,6,10,14 --10
i have ...
Hi
I am using following code to run a private function.
I have two values in my combo box, One and Two and two private functions with the same names, Private Sub One() and Private Sub Two()
I want my application to call the function whatever value user choses in the combo box.
If One is chosen in the combo box, Private function one sho...
Hi,
What is the difference between
Private Sub
Private Function
Private Class
and to use them?
Thanks
Furqan
...
I need to know how to display the result of a select query in a datagrid or GridView with VB.NET?
Consider SELECT * FROM some_table. I don't know what columns the table has. Is there a way to just output the result to a table, with a dataset for example?
How can this be done easily?
...
I am having difficulty programmatically activating / focusing on an existing, visible CustomTaskPane in Excel.
Specifically, I am trying to create a routine that will shift focus from the active worksheet to a ListBox control in the CustomTaskPane upon some user action. The CustomTaskPane and ListBox are already visible at the time of ...
I am trying to add a datatable to a database. Here's what I've been trying:
Dim newDataTable As DataTable = New DataTable("Example")
VocabularyDataSet.Tables.Add(newDataTable)
SqlDataAdapter1.Fill(VocabularyDataSet.Tables("Example"))
I've tried various incarnations of Fill and Update. But the tables will not save on the ...
I have a text file like
11111
10001
10001
11111
I need to read this into a 2d array of integers
I already have the code to read the file
Dim fullpath = "Path to File"
Dim objReader As StreamReader
objReader = New StreamReader(fullpath)
But i dont know what to do after that.
I'm know this is something simple but i just cant think...
"SELECT * FROM FIRSTCST WHERE FCSTNAME <> "" ORDER BY FCSTNAME" This is an access query to arange the tables in order.
I have to use this in vb.net. when arrange command button is clicked this should happan.
Wat s the query i should use and wat is the coding i have to write
...
I am using Excel 2007, VS2008 Pro.
I am building a VSTO Add-in that requires "drag and drop from Excel cells to a drag-enabled task pane".
So far I notice that I can only drag and drop within the cells themselves. It does not allow me to drop into the task Pane or drag past the sheet limits.
(http://www.computerimages.com/tip_xl.html)
...
I have a list of keys and values that I would like sorted by key via a custom Comparer(Of T).
I tried using a SortedDictionary, but kept getting incorrect results because it used the comparer to see if the items were the same. For example calling SortedDictionary.ContainsKey() would return false, even though it did contain the key.
Wh...
I'm looking for a tool (paid or OSS) to convert a mid-sized VB.NET project to a C# project. I've searched StackOverflow and have found a few questions/answers, but most suggest .NET Reflector or online copy/paste single file tools. Reflector doesn't seem to fit the bill as it will convert an assembly, but we're looking for a whole-sale p...
I have a form which has a search feature - a single text field and command button; when the text field is filled-in a database query is executed and the result (if one result returned) is shown on the form via dynamic control fields.
When the search feature is used for the first time, the fields are created and the data is returned from...