Search:
Type: Posts; User: Grimfort
Search:
Search took 0.15 seconds.
-
http://www.eident.co.uk/2016/03/top-ten-tips-to-speed-up-your-vba-code/ these tips follow the same for external code. Turn off the display updates and calculations and perform changes on ranges...
-
You have not really elaborated on what's in your project. As an example, I have a solution with somewhere near 30 libraries, services, window forms, apps etc. This comes up at 120mb. Of that, 98mb is...
-
If you are using the IE browser, you can control it somewhat with registry settings (for your .exe only). Have a look see here: https://msdn.microsoft.com/en-us/library/ee330720(v=vs.85).aspx
Or...
-
Check the ScaleMode, have you by change changed anything there? If you look at the Designer file, you can see the exact values used in code, compare them between the forms.
-
Read through your code:
ReDim strCurrentField(0 To currentRow)
And replace the bits:
Dim currentRow As String()
So...
ReDim strCurrentField(0 To String())
-
Without telling you, that there are better ways, maybe you need to understand why your app is "not working" which you still have not explained to us what that is.
You get the value of the label...
-
I think you may have to explain what you are trying to achieve here. Just throwing Excel into your application is not a simple process that can supplied/answered by you giving us a 1 liner question.
-
So, the question is, what is it you expect it to do?
You are setting numbers from a textbox and then adding 1 second to it, checking for hour and day rollover. That is what it appears to do, you are...
-
Surely your computer does not crash, just the app?
If you have an app that requires admin privileges, it will ask you every time, that is the job of the security system.
-
Would it then not have the partial class statement?
-
Not sure if anyone has noticed, this is a class, not a custom control. Surely the OP needs to be inheriting something....
-
First you need a method to open a PDF file. There is a nice library called iTextSharp which does a good job, or you can buy a commercial version of something such as Apose/Syncfusion. Once you have...
-
If I remember correctly, you can send params to Adobe (assuming you are using this) when you open a PDF via a url.
Have a read: ...
-
I have not looked at your code, but I can see you UPDATE statement is invalid. For some reason you are trying to use the word AND to update separate fields.
You want to use a , to separate them....
-
To note, you can mark a field as NonSerializable, to keep the reference to the Parent clean during your clone. You have to put it in after manually of course.
-
In that there link, is a nice bit of text with the word Note! xxxx
-
To add to this, .Net does not reclaim memory until you ask it to directly or the OS tells it to. When you look in Task Manger, things are not always as they seem!
There is a nice little explanation...
-
Have you read this? Has a note specifically for this.
-
To help explain this, check out this code created by VS for you, which is an Icon I have added to My.Resources:
Friend ReadOnly Property Common_User() As System.Drawing.Icon
...
-
There is no right answer here, it depends.
If you open a file for writing, you lock it for use by other processes. If you don't care about this, then keeping the stream open the whole time means...
-
I would point out, that if you have a library created by a third party, the best place to start might be said third party. They have guides on their own website right here.
-
O, and mark each class in the queue as Serializable, and then you can Serialize the Queue itself in a couple of lines straight to a file to keep context.
-
I have a similar system, more complex but each part is fairly simple. I get data in from connections which I tag with an ID , just use a class, and add to a Queue. The Queue can then be read by a...
-
You on the same course eh?
-
Eventually I had to go for using the samples created by Microsoft and the article here. There is actually a newly created version of the samples file in github, which beats attempting to call the API...
-
More research! This is the basis of Kerberos, I am pretty sure its secure :).
The MIM attack is exactly why I am researching this. Good news is that I found a name for it, that I have always known...
-
After researching more, the wonders of SSO, SAML, claims based security and a bit of a WIF I have found another with the same issue.
They were using the already known WindowsIndentity class to get...
-
The SSL uses certificates, and is also optional, so cant be used.
I would not believe what a client says, hence the question, in Kerberos the client gets a token from the Ad and uses that to connect...
-
I have learnt a little bit here: https://www.youtube.com/watch?v=KNHqVquc39M
A client will have a token TGT from the AD to use when requesting resources. I need something like this (or in fact...
-
I have a client/server application (winforms/windows service). To login, a user supplies a username/password encrypted posted to the server which then checks for validity. This is over an IP (SSL)...
-
It would be better for you to just run a VPN from your home machine to the work network.
-
Have a read of that link I posted, you are breaking the double-dot rule multiple times:
xlWorkSheet.Range("A1:A5").Font.Size = 14
-
Here is a thread on this subject that has had a lot of input
There are also links in that post (by me) to another thread we had on this same issue.
-
Couple of things, you could make sure you actually have .Net 3.5 installed if you want to target that platform, or fix/repair it.
When you copied over your files, are you sure you got everything?...
-
Have you heard of url encoding? There is a description in here along with a way to convert it (assuming it works http://www.url-encode-decode.com/)
-
Or you could check out a previously made managed library here.
-
Have you tried debugging it, not pasting what the debugger tells you its doing? Using a breakpoint, can you step through the code and investigate that it is, or is not finding the element you want....
-
As a side note, are you watching a network or local drive? Watching a network drive, you are not told when it goes offline so will not get any events, even when it comes back!
-
The magic ball is not working, you have to tell us what the problem is now. You have an example which should work, have you tried debugging it, do you get any messages, what does it do or not do?
-
Look for a pattern, are you sure its the same values 3 times, or could it be just being run 5 times? Change it up a few times to confirm.
a = 1, b = 76.
a = 2, b = 82.
a = 3, b = 70.
a =...
|
Click Here to Expand Forum to Full Width
|