I am having a problem when passing a data to a webservice. The web service has three instance variables 2 of type int and one of type string. When I pass data to the web service the int varibles get set to 0 and the string variable is set to the correct data.
ex.
string temp = "Thanks"
int x...
Has anyone seen code that allows duplicates to be added to a hash table. I know in java it is possible to extend a class such as hashtable and add new methods to it. Has anyone implemented a hash that allows duplicates. Such that the add command (if the key is there) add the data as an...
Is it possible in visual studio to have the deployed application have a build in installation key. IF so how? If this cannot be done does anyone have a suggestion on how to implement one into the .msi so that I can keep my application secure. Is there freeware or something that can read in a...
The problem is that the datatble upon calling the printout method contains no data.
Mywebservicelass
{
public DataTable ledger;
[WebMethod]
public void Init()
{
Random rand = new Random();
//adds columns to the table...
How can I insert data from a query into a table that already exists. I have tried using the insert into command but it seems to add the data from the query into the appropriate column but below blank rows.
table1 before sql statement:
col1 col2
data1
data2
data3
After following sql...
I would like to change the cell background in a excel spreadsheet based on values within the individual cells. The best way I believe to do this is to use VBA since I have more than three conditions. I do not want to have to type the values into the cells again for the code to work which is...
I am trying to print the data contained within a JEDITORPANE, that contains both text and highlights. The editor pane has a scrollbar associated with it which from what I have been reading could be important. I have downloaded and am using JDK1.5 but still have availible 1.4. Could someone...
I need to print the contents of a JEditorPane. The pane contains both text and highlights. I would like to somehow print the contents of the pane through a print dialog so that I can choose a printer. Also the JeditorPane is attached to a scrollpane which may be important in this regard. I...
Is it possible to read strings from as JTextArea One by One?? I would like to insert all the lines from the JTextArea into a String Array for later usage.
String [] temp = new String[jtextarea.getLineCount();
for(int i = 0; i<=jtextarea.getLineCount();i++)
{
temp[i] = something like...
Is it possible to loop through all of the tables in an Access database and do unmatched queries against one another. If you have 4 tables you would have
Is it possible to loop through all of the tables in an Access database and do unmatched queries against one another. If you have 4 tables you would have
1 vs 2
1 vs 3
1 vs 4
Thanks
Is it possible to update a table using some kind of for each statement??
I would like to create a column that contains the results from a parsing procedure that depends on another column in the same table. Something like the following pseudocode:
FOR EACH Row in tableA
index1 = InStr(1, file...
Is it possible to update a table using some kind of for each statement??
I would like to create a column that contains the results from a parsing procedure that depends on another column in the same table. Something like the following pseudocode:
FOR EACH Row in tableA
index1 = InStr(1, file...
How would you convert a field from type text to type hyperlink using .net code. I am lost and I know how to set them from scratch using CreateField, but how can you change them once data is in them??
Thanks
I get the error indicated in the Subject line
Below is the code that I am trying to use. I am trying to update a column in the tabel using a function in a module. See below. Is this some type of problem of using functions within SQl statements, if so how do I fix this.
strsql = "UPDATE...
I am trying to update a column in an access table by using a public function:
Code:
Public Function Create_web_URL(ByVal data As String) As String
Dim url As String
Dim result As String
url = "http://www.web.edu"
result = url & data
Create_web_URL =...
How do youo set the focus of a tabpage in vb.net in vb 6 you could set the focus of a tabstrip by using blah.SetFocus(), which in turn would immediately change to the blah tab. I cannot figure out how to do the same thing in vb.net
Any help would be greatly appreciated!!
I have been getting the following error:
An unhandled exception of type 'System.NullReferenceException' occurred in Sample LogIn.exe
Additional information: The database could not be found!!
my code is below
Dim strSQL As String
Dim ws As DAO.Workspace
Dim db As...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.