Showing results 1 to 25 of 96
Search took 0.01 seconds.
Search: Posts Made By: jaccog
Forum: .NET General 11-01-2014, 11:09 AM
Replies: 3
Views: 1,337
Posted By jaccog
Hi PlausiblyDamp, Thanks for your answer. I...

Hi PlausiblyDamp,

Thanks for your answer. I did already fix it by using Synclock mechanisms. The thing is that I would not have expected this to happen as this 'ToArray' function seems like a...
Forum: .NET General 11-01-2014, 05:38 AM
Replies: 3
Views: 1,337
Posted By jaccog
Wink Generic.List(Of T).ToArray exception - question

Hi all,

I am getting an exception when the following line of code executes:
Dim keys() As String = RendererUpdateObjects.ToArray
The RendererUpdateObjects object is a Generic.list(Of string) and...
Forum: .NET General 10-13-2014, 02:09 AM
Replies: 5
Views: 728
Posted By jaccog
Yup, The checkbox is unchecked. It also...

Yup, The checkbox is unchecked.

It also seems that, if the exception occurs, the calling Sub exits and thus bypassing code that should follow. All this without raising an exception.
I just...
Forum: .NET General 10-12-2014, 09:09 AM
Replies: 5
Views: 728
Posted By jaccog
Thanks Snarfblam, I was/am running in the...

Thanks Snarfblam,

I was/am running in the development environment, and also in debug config.
Forum: .NET General 10-12-2014, 07:05 AM
Replies: 5
Views: 728
Posted By jaccog
Unhappy Exception not thrown at actual place of exception

Hi,

I'm having some strange issues and I'm not sure why.

Let's say I have a Function that gets an item from a dictionary like this:
Function GetCallsign( Key as string) as string
Return...
Forum: .NET Communications 08-06-2014, 04:08 PM
Replies: 2
Upd
Views: 3,072
Posted By jaccog
Hi Passel, Thank you for your elaborated...

Hi Passel,

Thank you for your elaborated answer.
I tried the blocking receive method using a thread to receive the data and it actually has the same problem.

Googling and asking friends,...
Forum: .NET Communications 08-06-2014, 05:42 AM
Replies: 2
Upd
Views: 3,072
Posted By jaccog
Upd

I'm communication with two applications using UDP sockets.
It works just fine...99% of the time, but once in a while I seem to miss a packet at the receiving side.

On the sending end, I check the...
Forum: .NET Database and Reporting 01-02-2012, 06:31 AM
Replies: 2
Views: 2,305
Posted By jaccog
Thanks PlausibyDamp, Thanks for the info. ...

Thanks PlausibyDamp,

Thanks for the info.
I am using winform applications and my data-exchange is more like a Question and answer-routine. That is why i hardly use datareaders.
Got my solution...
Forum: .NET Database and Reporting 12-16-2011, 11:13 AM
Replies: 2
Views: 2,305
Posted By jaccog
Question SQL connection open/close

Hi,

SQL connections confuse me sometimes :rolleyes:

In almost every SQL related code on the internet the routine is like this;
* Open connection
* Execute SQL command
* Close connection
...
Forum: .NET General 08-08-2011, 05:04 PM
Replies: 2
Views: 551
Posted By jaccog
In this case it is just a windowed application,...

In this case it is just a windowed application, but using multiple threads and timers, which kinda is a recipe for an exception. Althoug I'm familiar with this matter.
I will see if I can use that...
Forum: .NET General 08-07-2011, 05:53 AM
Replies: 2
Views: 551
Posted By jaccog
App "encountered a problem and needs to close" - how to debug?

Hi,

One of my applications seems to crahs every now and then but it only does this on a specific computer, which is located at a remote site (Thanks to Murpheys law of course). The Windows message...
Forum: .NET General 06-22-2011, 03:37 PM
Replies: 2
Views: 1,075
Posted By jaccog
Thanks AtmaWeapon! The solution was to set...

Thanks AtmaWeapon!

The solution was to set the "advanced compile options", "Target CPU" to "x86".
You'll find the advanced compile options button in menu "Project", "x properties", tab "Compile"....
Forum: .NET General 06-22-2011, 03:03 PM
Replies: 2
Views: 1,075
Posted By jaccog
Question VS2005 @ X64 environment - workaround to enable Edit and Continue?

Hi,

Just got my new PC. It's kinda overkill :D (i7, 8GB, SDD, W7 x64) for what I actually need but it is supposed to last for a few years.

For maintenance issues I had to install Visual...
Forum: .NET General 06-20-2011, 03:33 PM
Replies: 6
Views: 902
Posted By jaccog
AtmaWeapon made a very comprehensive description...

AtmaWeapon made a very comprehensive description of my 'problem'. Thank you for that :)
Thank god I'm not hooked to that contract yet, I'm just investigating to see if I can get the contract and how...
Forum: .NET General 06-18-2011, 07:44 AM
Replies: 6
Views: 902
Posted By jaccog
Thanks Rockoon and AtmaWeapon for your input. ...

Thanks Rockoon and AtmaWeapon for your input.

Atma suggested using a database which is probably what I will end up with. Altough my first test filling up a table with 50 mil rows took a huge...
Forum: .NET General 06-17-2011, 12:03 PM
Replies: 6
Views: 902
Posted By jaccog
1 character string memory: 1 byte please ;)

Hi all,

Can anybody tell me if it is possible to define my list of strings like in 'good old' VB60, to use only on ebyte of memory for each character? .NET always seems to store any string as...
Forum: .NET General 01-04-2011, 05:05 PM
Replies: 7
Views: 1,487
Posted By jaccog
Thank you both Atma and Roger, for clearing...

Thank you both Atma and Roger, for clearing things up!

Greetings from the Netherlands.
Forum: .NET General 01-04-2011, 03:13 AM
Replies: 7
Views: 1,487
Posted By jaccog
Hi Atma, Thanks for your answer. There is...

Hi Atma,

Thanks for your answer. There is one thing unclear to me though;
If I'm using PUBLIC SHARED FUNCTION...
there will only one intance of the function excist in the code.
But how about...
Forum: .NET General 01-03-2011, 01:38 AM
Replies: 7
Views: 1,487
Posted By jaccog
Question thread-safe function

Hi,

I need a function that will be called from many points in my code in a multi-thread environment.
Below is just a sample function, which converts a terminal command to a datapacket which is...
Forum: .NET Communications 01-12-2010, 04:19 PM
Replies: 0
Views: 506
Posted By jaccog
Question Basic Async Question

Hi,

I am curious as to what is the proper way to use async communication in sockets / serial ports.
At one point in the 'input routine' the data needs to be processed; what is the best way to...
Forum: .NET File I/O and Registry 01-06-2010, 09:44 AM
Replies: 0
Views: 1,583
Posted By jaccog
Writing XML inclusing CRLF and other control bytes

Hi,

I am using an XMLTextWriter to save some data into a file. I know that XML doesn't support binary data, but I know that a CRLF can be included in XML using

Is there a setting in the...
Forum: .NET General 06-06-2009, 04:05 AM
Replies: 4
Views: 1,061
Posted By jaccog
Hi AtmaWeapon, Thanks again for you...

Hi AtmaWeapon,

Thanks again for you information. I used the day to go over my code and use the INTERLOCK whenever a multi-thread issue might occur. I never heard about that one before ;)
I am...
Forum: .NET General 06-04-2009, 04:30 PM
Replies: 2
Views: 1,060
Posted By jaccog
Hi AtmaWeapon, First; don't worry about the...

Hi AtmaWeapon,

First; don't worry about the casing: I just typed that code in the forum textwindow, so it is not pasted from VisualStudio. It was more to illustrate what I was doing.

I am...
Forum: .NET General 06-04-2009, 10:48 AM
Replies: 2
Views: 1,060
Posted By jaccog
Keep object alive for threadpool/timercallback

Hi,

Anybody can clear the air for me about this:

When using teh system.threading.timer or threading.threadpool. queueuserworkitem, you are able to pass an object.

But wouldn't the garbage...
Forum: .NET General 06-04-2009, 07:44 AM
Replies: 4
Views: 1,061
Posted By jaccog
I do access some variables but they are just...

I do access some variables but they are just integers for counters and stuff like that. A simple 'Counter +=1 ' should be thread safe. When it concerns non-thread-safe objects, like for example "List...
Showing results 1 to 25 of 96

 
Forum Jump
Advertisement:



Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe