Search:
Type: Posts; User: kebo
Search:
Search took 0.24 seconds.
-
I would probably use DateTime.TryParseExact in case the data is not as you would expect.
-
Another thing to try is running the query in a client (ssms, heidi.sql, etc.) on each machine. That might point to, or eliminate a server/sql command issue.
kevin
-
Software security is like an onion; the more layers it has the fewer people that will be willing or able to get to the center. I don't think obfuscation is the be all end all to software security,...
-
Mods, I don't think this is the correct forum for this, so please move it as you see fit.
Hi all,
I am currently in talks to license a bunch of our source code to one of our customers. Since...
-
Not sure what to tell you.
If the scroll bar is part of the grid, and the grid is a control of the form and is set to dock fill, and there are no other controls visible on the form, the entire...
-
No. I don't know what scroll bar you are referring. If it's the grid's scroll bar, then you have done something different than what I have suggested.
-
You need to add the panel, put the buttons in it, dock it to the bottom and dock the grid all in the designer. Then only thing you will do in the click handler is hide the panel.
-
Put all of the buttons in a panel and set the panel.Dock = Dock.Bottom.
Set the grid.Dock = Dock.Fill.
In the btnNichtmodal_Click method, hide the panel (i.e. panel.Visible = false).
-
You would need to create a dictionary(of string, object) and put your settings and history it, then serialize...
Note that on the deserialize, your settings in the dictionary will be a jObject and...
-
Put all of the settings in a class and de/serialize the class to/from json as needed and you can avoid woring with jObjects completely. It won't give you control over the file structure, but does...
-
Thank you for that.
For others who may stumble on this, if the schema does not exist, you cannot create a table in it. You can create schemas using this,
kevin
-
Hi all,
This is a question out of curiosity mostly, but it does have a need for what I am trying to do.
I have a customer that uses Epicor for their ERP system. All of the data for the ERP in on...
-
try reading in the entire file into a string, then split the string on the value you are looking for. The number of occurrences would then be the number of elements in the returned array minus 1. It...
-
MQTT protocols are a plus if you intend to have a cloud connection.
-
Out of the box, .Net code can be easily decompiled with a number of free .Net decompilers. You can have some protection using obfuscation, but even then, strings are not always protected.
kevin
...
-
I figured this out and was way overthinking it.
The right way to do it is to have the intercom create a single tcp listener and when the app announces with a hello on udp, it sends the port it's...
-
Thanks for that.
There is no dedicated server however. I'm trying to create a cluster where each app connects directly to each other.
-
Hello,
I am building an intercom class library that will be included in many of our apps. The intercom will be responsible for creating a Tcp a connection between itself and another app running the...
-
We use Inno as well, and I think you may have problems deleting it if it's installed in the program files directory. You could instruction Inno to install it elsewhere though using anyone of the...
-
We recently had an issue along the same lines. The app has tons of images in it and and our classes had multiple handlers that we would attach to. Turns out that our problem was not detaching the...
-
Like I said, if you want to argument what irks me, then have fun with it. As far as rock solid come back to reality. You aren't addressing the fact that in VB you aren't held to strict syntax. I'm...
-
I'm not sure anyone has control of what irks them. All you can do is manage it, but that's a conversation for another thread and possible another forum.
-
In VB, If (this or that) is the exact same as If this or that. That means you DO have a choice of syntax. As far as the inner parens go, we have to have choice over them so the compiler will know how...
-
This is one of the things that irks me about VB. The syntax is your choice. You can use them or not. A language should have specific syntax. I'm not saying there should only be one way to do...
-
Devexpress gridviews do exactly that. Not for free though.
-
Thank you. It worked great. For anyone else that needs it, the complete sql looks like this...
Declare @SQLStatements Table (SqlText nvarchar(max))
Declare @SQLText nvarchar(max)
Insert into...
-
Thank for that Sherin, but your sql will only return a table with all of the update commands (one record for each table).
How do I now get the server to process each record and actually perform...
-
Thanks sapator.
The examples introduce a bunch of new concepts to me, but hey, it's only code. I can probably make something work from it.
-
Hey all,
We have a database with a number of tables that have a field that needs updating. The field name is the same across all tables and the value we need to update to will also be the same...
-
There should be no reason to the clear the access table completely then repopulate it. When you need to update the database, get the changed rows in the datatable using the table's GetChanges()...
-
What does the sql command text look like?
-
In the solution explorer, right click the project, Add >> Existing item. Navigate to the form.vb file and select it. There will be three file that make up the form but by only selecting the *.vb...
-
Importing Gebers first means that you have to understand the data structure. A quick google lead me to this Wiki I haven't read it completely, but you need to know how the file is built so you can...
-
We've done this in the past and have always created our own (shape) class to handle drawing. This class would hold the shapes style (square, circle, etc), it's location, size colors, etc. It also has...
-
For integral numbers I use int or long depending on the size of the value.
For fractional values, I use Single only if the method I'm passing to requires a Single type, otherwise I use Doubles...
-
Normally you don't specify print sizes in the file. You do that when you print using a PrintDocument class. You would handle the print page event of the of that class and use the Graphics name space...
-
Does the second entry have an asterisk in front of it? If so,
dataGRidView1.AllowUserToAddRows = false
If not, then it's probably not the grid but your code that is doing it, and without...
-
The file in your resources folder is not what you are accessing when you run code. The file gets embedded in the exe and you access it via the resource manager. If you want to do this, your best bet...
-
Dim sum as Integer = Enumerable.Range(10, 20 - 10).Sum(Function(x) (x * (x Mod 2)))
-
Good catch. I wasn't even thinking we were dealing with numbers not strings. That's what I get for freehand code.
|
Click Here to Expand Forum to Full Width
|