Search:
Type: Posts; User: Bruce Fox
Search:
Search took 1.79 seconds.
-
-
Put a breakpoint at the line of code, run it, and watch the filename to retrieve the value and post back the result.
-
What is an example of the value for filename
-
Tehya,
Is this 'really' what you are doing: "my project should create about 100 table per day using same pc"
Or, do you just want to create a series of 'records' each day in a given table?
-
Also, you should consider closing the objCon 'before' the dialog code block to prevent keeping the connection open until a user has acknowledged it.
To go one better, you should have error...
-
Hi Yehya,
You obviously don't have privileges for that on the SQL database. Are you the DB admin? If so then search for something like "GRANT PRIVILEGES".
-
Something like:
("SELECT * FROM sql2256547. '" & Textbox1.text & "'", connection)
-
Hi Yehya,
So is the intent for the user to 'enter' the database name (via Textbox1.Text)? or just be able to 'filter' what records are pulled back?
-
Well, what is "sql2256547" exactly?
-
Possibly:
("SELECT * FROM '" & sql2256547.Textbox1.text & "'", connection)
Note the single quote, followed by a double quote and & , and then & followed by a double and a singhle then by a...
-
Private Sub btnCalculate_Click(sender As Object, e As EventArgs) Handles btnCalculate.Click
' ********
' Validate
' ********
' At least one needs to be selected...
-
You need to place your validation (has a radio button been selected) code at the top of your:
Private Sub btnCalculate_Click() sub.
Additionally, you could implement passel's idea too to...
-
Thanks for the replys guys.
It is frustrating. It works on dev machine but not on the client ones (unless I change compatibility, then that causes another issue). We need to stay with IE at this...
-
Ughh, The TreeView (can't expand [x]) is inoperable now......
-
Lightning,
You got in one...
It was the "Display internet sites in Comparability View" that was causing the rendering issue. Well done. Thank you! :)
-
Hi tantan05,
If I understand your post, the issue may be due to the way the OSI (TCP/IP) Model works. If the user is on a different sub-net the router will replace the host IP with it's IP when it...
-
Hi abcd_2014,
Are you asking for a 'grid' in the IDE?
-
If you can, set a min width. IE. Possibly a <div> and CSS and seting a Min width of the parent container to prevent the wrap see here?
-
Hi NeedSomeAnswers,
Thanks for your efforts.
That post you refereed to was the 'trick' I had tried initially to no avail.
I have a cut back test.aspx page that has header, nav, section etc...
-
Hmm, I'll knock up a basic page to re-test............ I'll post the results.
-
Hi NeedSomeAnswers,
Thanks for the response, but I tried that and the other 'trick' of declaring the elements to no avail.
In any case, I feel like bashing my head into a brick wall as the...
-
Hi Guys,
I have created a Default.aspx page using HTML5 tags such as header, nav, section, footer.
1. The content renders fine on my dev machine (running IE11).
2. However, it doesn't render...
-
ADOBE products went that that way too I seem to recall (flat/mono etc). Must have been the in thing at the time.
-
BTW, where are you keeping track of the used 'salt' for that instacne of the salted-hash?
I ask, cause you havn't shown how you are going to reverse the process (when validaing a user).
One...
-
So, something like:
cmd.Parameters.AddWithValue("@password", HashPassword("something", password.Text, "somethingeles"))
-
Hi Steve,
Post the code block that saves to the Access DB.
-
One of these may help:...
-
Hi szlamany, I think your correct ;)
Also, it seems to be a C# query too.
-
For now, I have reverted back to the table approach. It is still slightly wasteful due to the padding, but I have tried small lengths, and large ones successfully (for example in a year, approx 1/3...
-
Have a look at MSDN for ContextMenuStrip. As seen here.
-
Have a look at .StartsWith() and .EndsWith() :)
-
I haven't read in detail however could you use the Replace() function to remove all nominated instances?
Such as:
Dim strBuff As String = "Stuff to remove <VB>"
strBuff =...
-
Set out your rules on paper first. Eg randomise, if true, this run should be a win based on when was the last win was paid, if so calc amount based on x etc..
Then you may find it easier to code...
-
You could store all previous (current game) 'scores' and payouts, and timestamp in a List(of Int/Doubles) and have an algorithm decide based on those (temp) figures etc.
-
Why, that won't change the fact it is not returning a valid value - that is what -1 refers to. Also, the OP want's life remaining :)
-
In line with 4x2y suggestion, you could alternately add the Control in-code as opposed to adding it from the ToolBox - just thought I'd through that out there.
-
Are you testing that on a PC, or a Laptop?
Note: –1 if the approximate remaining battery life is unknown.
(Once you obtain a valid response you can divide by 60 to get Minutes)
-
VB.Net is event driven, and in this case you would use the Click event (as you requested).
However, There is at least one simple way to wrap the whole thing up in one Sub. Once the Control is...
-
Don't be put off :). As previously mentioned there are two ways to go about this. Your current way, works well and is worth learning IMHO.
-
A DataSet contains Tables that you have loaded using a query with a connection string. You can then access the elements of the contained Table(s) as an object in your code. When your ready to keep...
|
Click Here to Expand Forum to Full Width
|