Search:
Type: Posts; User: techgnome
Search:
Search took 0.16 seconds.
-
Put quotes around the value ... then you can still leave it as a CSV with "," as the field delimiter.
-tg
-
Neither would be called ... it wouldn't compile... regardless of what the output is, it's the parameters that matter which get called.
If the definitions were as such:
public float...
-
Shoiuldn't it be e.Cancel? Cancel by itself looks to be left over from VB6 code ... the cancel should be part of the event arguments ....
-tg
-
If you want something to show up in a textbox, then assign the text to the .Text of the textbox ... just like you are with the label. Also, why add the label at run-time? Just add it to the form at...
-
I know that the msgboxes are for finding the error ... I'm just saying be careful in using them like that because it can change behaviour unexpectedly. Personally I've moved from that to more...
-
Yeah, I thought along the same lines ... the "fun" part will be determining which secondary method/function to call based on what's in args ... I didn't put much thought into it beyond that though....
-
Isn't that the definition of an upgrade: Take out old bugs, insert new ones.
Be careful adding msgboxes... that can actually change the flow of how things execute. I had a case back in the day...
-
It is. The event handler signature in .NET is different from previous versions.
However... you can set the MaxLength property to 48. That will stop the textbox from accepting anything more. You get...
-
I'd make it a virtual collumn... not something in the db itself...
select *, 'Samsung' as Manufacturer from ...
union all
select *, 'LG' from ...
union all
...
-
And then use a Union All in the SQL query...
-tg
-
It'd be a Miracle to Whip it up...
-tg
-
So? What does the other project have to do with this one? If you've never used replace in a sql statement, that's fine ... I've never used dependency injection before my current project either ......
-
use the REPLACE function in your select.
-tg
-
Ukraine did not join NATO. If they had, NATO would be putting boots on the ground and being (more) actively than they are. What happened was Ukraine applied to NATO. The potential for missiles is the...
-
1) That has nothing to do with the problem of this thread.
2) That's not how you should be handling dropdowns.
You should be adding values to it, then handling one - one... ONE - event -...
-
No, but if you should still be able to get it from inside the transaction... but still remember to close the recordset.
-tg
-
I'm guessing you never closed the recordset afterwards either.
Because it left open a line... so when you then try to use the transaction again, it's getting a busy signal. If all you're after is...
-
Can you open it using a browser like chrome, Edge, firefox?
-tg
-
Does not using the vbModal on the form .Show method not work?
oi... IT looks like you're "moving" the picture box to the second form... .why? Just add a property to the second form that would...
-
Thing is ... Excel may not support transactions. Sure, the method is there, but it's for supporting transactions on databases. I don't think the Excel provider supports it... and that may be (may)...
-
I know of a system that made you enter time for everythikng... at the end of hte day, it wouldn't let you out of the entry screen unless you had accounted for all 8hrs of the day ... even that 15...
-
Not sure why it would set the inputs...
It looks like it is clearing them... not setting them.
document.getElementById('input_username').value = '';
...
-
My guess is that the folder where the database is hasn't been shared properly. Also, it should be in a shared folder on a server on the network rather than on your computer.
Either way, the folder...
-
when SC voted in Open Carry, they stopped just short of Constitutional Carry (this is how I came to find out there's a difference) ... you can cary only with a Conceal Carry License - bottom line,...
-
Was it a phishing attempt?
-tg
-
So that's what Shaggy's been up to ... he's not going on walkabout as he claims, but making bioweapons outta fish... why that piscine sunnuva gun...
-tg
-
-
I find that more plausible than the intentional release ...
-tg
-
That would be Constitutional Carry ...
As someone planning to move to Ohio in a year or two, this is good to know.
Not that I plan to walk about town with my rifle slung over my shoulder...
...
-
The index is for when the event handler connects to a control array (ie, mutlple textboxes) .... if you're not using a conrol array, delete the index parameter.
-tg
-
Function world_ExamineMap() As Boolean
With Character(Selected).Location
If link(.world).map(.map).Mode < 4 Then world_ExamineMap = True
If .world = 0 Then GoTo toEnd
...
-
1) Was the project in .NET marked as being "COM Visible"?
2) attachments here are funny... they may or may not work... if posting code, just copy the code, paste it into the forums... select the...
-
Yeah, I'm confused about what the issue is ... VBA isn't VB.NET ... they are two different technologies. They just happen to share hte VB part in name only.
-tg
-
This might be a case where you build an object model to hold the data, then serialize it to json, and save that in a field. That's what we're doing (albiet in Java) ... for generating reports, we get...
-
Ah.. I woldn't ... I'd make the OK button the default dialog result button so that the enter will automatically "click" the button... not set focus there... otherwise I'd have to hit enter twice .....
-
I don't have a whole lot of experience, just enough to be dangerous. I see two solutions:
1) Don't give a crap about the size, and just download the file, reporting the downloaded about, and not...
-
The sending stream isn't indicating the size... so it's an unknown quantity, hence the -1. As it completes and it gets the signal that the stream is about to close, it finally know how many bytes...
-
I'm questioning whether modal forms can even raise events to be handled externally... in that case this event handler:
Private Sub _Form_Testing() Handles _Form.Testing
RaiseEvent...
-
Note - this question was also asked in VB ... https://www.vbforums.com/showthread.php?896654-An-issue-on-Inheritance-Class-UserControl-vs-Control
-tg
-
So is the problem in VB? Or in C#? Because you have the exact same question over here - https://www.vbforums.com/showthread.php?896650-An-issue-on-Inheritance-Class-UserControl-vs-Control
-tg
|
Click Here to Expand Forum to Full Width
|