Search:
Type: Posts; User: dim_kevin_as_human
Search:
Search took 0.02 seconds.
-
I'm grabbing a page with PHP's cURL and the page contains an arbitarty set of <td> elements in a <table class="content"> how do I use the xpath to traverse to the content class and said td's and...
-
So, I've scrapped my earlier method (hard coding __VIEWSTATE etc) of using cURL in a system that uses asp due to the issues with __VIEWSTATE and __EVENTVALIDATION changing. I found a script that...
-
ahhh i had to take the [][] off the variable...
thanks! i appreciate it!
-
During the design of my java class, I need to use an 2d array to keep track of products and salespersons. I would like to declare the private variable at the top, and then create it in my constructor...
-
using for loops in java, how do i create this pattern in the output window?
you an only use System.out.print('*') and System.out.println()
*
**
***
****
*****
******
*******
-
For example, in Java used in a loop? Why is this a bad practice or bad form? Example:
int count; // control variable also used after loop terminates
for ( count = 1; count...
-
you could set the computers that you want interfaced off the router to static IPs like 192.168.2.25 etc. you'd have to point the machines gateways to the router and add dns of course.
-
What would be the best way to create a clock inside my application that moves through the week, not needing an actual date. Like you find in some games that move on the time and days of the week. ...
-
thanks for your replys. I'm going to be doing alot more reading into ado.net 2.0 but I've found exactly what I needed:
DataGridView1.DataSource = Nothing
DataGridView1.DataSource...
-
I know the ExecuteNonQuery has no effect on my grid. That's why I was trying to fill the datagrid via manual means. But it would seem that mixing two ways of doing this is not going to work. ...
-
Well, I did duplicate what you did, however I do not see the connection with adding and removing rows from the datagridview via button apply the above. I need to have the datagridview update the...
-
Alright folks, I have a datagridview that is for viewing purposes only, no editing is done via the datagridview itself.
I'm manipulating the database with oledbcommand's via code. So I have to...
-
Yes! I did it!
the message boxes were misleading, of course they were going to tell me the values that SHOULD be written to the DB, but it had occured to me that once the paramaters were set,...
-
i have modified the code, but it still only writes to the db once.
Dim i As Integer = 0
OleDbConnection1.Open()
For i = 0 To capacity - 1
...
-
I have this:
Do Until counter = capacity
OleDbConnection1.Open()
cmdFactoryJobUpdate.Parameters.AddWithValue("@QtyLeft", Jobs.Item(counter).QtyLeft)
...
-
i have fixed the issue by changing the paramater adds to define the data type...
for example:
cmdAddJobsToFactory.Parameters.Add("@Species", System.Data.OleDb.OleDbType.VarWChar).Value =...
-
Well, The paramaters are from variables or string, as you can see from my first post...I'm not sure if that's answering what you want...here is the dbcommand object in it's form:
...
-
Ok, I did remove the quotes, but I couldn't remove the brackets. I ran this command one paramater at a time. Turns out the paramaters with numbers work fine AND the adding the species paramater is...
-
I have a oledbcommand object with the following command text:
INSERT INTO FactoryAQueue
(Species, Quantity, Cloth, Stuffing, Accessory, Packing, QtyLeft)
VALUES ...
-
actually, scratch that. I fixed that issue, and it doesn't error out...But it doesn't hide the caret.
maybe there is an easier way to do this. I want the textbox to appear to be disabled, but I...
-
thanks for your replies. a pInvokeStackImbalance was detected is thrown:
A call to PInvoke function 'myApp!WindowsApplication1.Form1::HideCaret' has unbalanced the stack. This is likely because...
-
this code:
Private Declare Function HideCaret Lib "user32" (ByVal hwnd As Long) As Long
Private Sub Text1_LostFocus()
HideCaret Text1.hWnd
End Sub
-
actually, i decided to go a different route for keeping periods out of a user input, so I'm going to mark this resolved and leave it at that. thanks to those that responded.
-
i had to change the overload to type double in order for it to accept the decimal point...but when i convert that to a string in order to use IndexOf, it removes the decimal point, therefore always...
-
because if it is, there's a problem as it returns false everytime
-
is this the correct way to find a period?
Private Function validateWholeNumber(ByVal rawGood As String) As Boolean
Dim expression As New Regex("\.")
' Call Match,...
-
yes, at some point from which i didn't have the 'where' to the point where i added 'where' i must have had made another change that fixed it because after i removed the 'where' it works just fine.
-
ok well, I have added a static field to reference with a 'where' for my update. Well, it updates the records only once. When I launch the dubugger and update it works that one time. If I try to...
-
maybe it's not even possible without a 'where' i just want to keep overwriting the values in the same record, and not create a new record.
-
I have this oledbcommand object with the following command:
UPDATE CurrentPrices
SET redClothCurrentPrice = [@redClothCurrentPrice]
inside my code i have this:
-
Thanks for the reply. This is how I am adding the data to the listview. Right now all data fills to one column, as can be expected
Dim dr As OleDb.OleDbDataReader
...
-
ok, but what if I'm not pulling the data from a database?
-
i would like to add this to my listbox to devide the entrys in my list box:
http://img.photobucket.com/albums/v299/ptchat/bar.jpg
can that be added to a listbox? or is it another control...
-
ok, thank you, i will look into this.
-
thanks, making it gloabal appeared to fix the issue.
-
i have this code:
Dim randCloth As New Random
'set red cloth price range
redClothLowPrice = 400
redClothHighPrice = 500
-
doesn't 2k3 have remote desktop capabilties?
-
yeah, all drives have a default administrative share that can be used in extreem cases. it's never a good idea to share your root. period.
-
and the above will not work?
-
no. what version of server or you running?
|
Click Here to Expand Forum to Full Width
|