15,742,316 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View Javascript questions
View C++ questions
View Python questions
View Java questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by S Houghtelin (Top 122 by date)
S Houghtelin
9-Jun-17 12:20pm
View
Then convert it to a string.
textBox2.Text = ToString(strHEX);
Not been using C# for too long? It does get easier the more you use it.
A useful resource I use for C# questions is https://www.dotnetperls.com/ (Code Project is a great resource as well).
S Houghtelin
9-Jun-17 11:52am
View
Here you go.
byte[] bytesToSend = new byte[14] { 0x68,0x99,0x99,0x99,0x99,0x99,0x99,0x68,0x23,0x02,0x61,0x00,0xEC,0x16 };
serialport1.Write(bytesToSend, 0, 14);
System.Threading.Thread.Sleep(200); // wait for .5 sec
byte[] buffer = new byte[serial.BytesToRead];
serialport1.Read(buffer, 0, buffer.Length);
StringBuilder strHEX = new StringBuilder();
for (int i = 0; i < buffer.Length; i++)
strHEX.AppendFormat("{0:X2} ", buffer[i]);
textBox2.Text = strHEX;
If I do more, I'll have to start billing. ;)
S Houghtelin
9-Jun-17 11:21am
View
String strHEX;
byte byteVal = 0x0F;
// To read back as a hex format
strHEX = string.Format("{0:X2}", byteVal);
Be aware that this is a string, it will look like the hex value but you will not be able to perform numerical calculations. To do that use the byte value as you would an integer value.
S Houghtelin
9-Jun-17 11:05am
View
In C# there is the "byte" variable that you can use to parse filestreams. IF you want to write in hex format use the 0x00 format, for instance:
byte byteVar = 0x0F; // Init with value of 15
S Houghtelin
30-Jan-17 8:06am
View
Yes, you are correct, the problem is in your code. I will ask you a question; If you close the serial port before setting up the receive event, how is the serial port going to receive new data if it is closed? Go back to the sample you linked to and carefully note the order as ppolymorphe so clearly laid out for you.
Look at it this way, if someone knocks on your door and you say "come in", and then you close the door in their face, how are they to enter?
S Houghtelin
9-Sep-16 7:19am
View
What do you mean by not in readable format? Are you attempting to open an .xls file without using Excel or are you trying to generate tab delimited files? You are not describing your file very well.
S Houghtelin
21-Jan-16 8:16am
View
Have a look at this page, you may need to filter out data that is not required to limit the size of the data you are bringing in.
https://msdn.microsoft.com/en-us/library/system.outofmemoryexception(v=vs.110).aspx
Also it would be helpful if you could let us know which line generates the error.
S Houghtelin
13-Jul-15 7:42am
View
Your question has a better chance of being answered if you post it in the Q&A section http://www.codeproject.com/Questions/ask.aspx
When you ask be sure to add what the error is showing, the error can provide a clue to the person who is willing to help.
In the mean time I would look a the syntax of the line:
myPort.write(m_arTxBfx,m_InputLength,4);
MSDN Link: https://msdn.microsoft.com/en-us/library/1050fs1h(v=vs.110).aspx
In short,
myPort.write(array_to_send, first_byte_of_array, number_of_bytes_to_send)
S Houghtelin
26-May-15 8:23am
View
Perhaps if you provide what device you are attempting to communicate with you may get more responses. The solution may be much simpler than attempting to understand the protocol as most use cases it is just sending the desired command through the RS232 interface and waiting for the response. Generally, using the port in binary (or byte mode) is the most reliable method. What have you tried so far? Do you have any Code written?
S Houghtelin
27-Aug-14 13:42pm
View
What device are you using that uses a baud rate of 10400? 10400 is a non-standard rate and may very well be the reason you are having issues. 80ms is more than enough time for a response after a receive event. The .net serialports has it's issues but none that I've come across that couldn't be overcome including high throughput data rates.
Perhaps you could post some of the code you are using, perhaps there is a setting you are overlooking.
Regards
S Houghtelin
5-Jun-14 7:23am
View
You would do well to remove your email from your post, unless you want a lot of spam. When someone answers your question you will automatically get an email.
S Houghtelin
21-Apr-14 11:20am
View
Thank you Sergey.
S Houghtelin
18-Apr-14 10:11am
View
As Richard states, what happens when you step in to the function. How do you know it isn't executing? Try placing your break in the function. Do you have a try catch in the function that is ignoring an error and it is simply returning? Do you have a return value coming back?
S Houghtelin
9-Apr-14 9:14am
View
Your question is not clear. Are you connected to a database? Are the two windows on the same form?
From what I can tell if you "logout" or disconnect from the datbase this may render you other connection/window inactive.
S Houghtelin
9-Apr-14 8:40am
View
Please see my revised answer.
S Houghtelin
8-Apr-14 8:46am
View
Code Project is not a code on demand community, here is a very helpful article on searching for answers:
How to Use Google and Other Tips for Finding Programming Help[^]
[
^
]
At the very least read this:
Code Project Quick Answers FAQ
[
^
]
Try to generate a solution and if you have problems, we can help.
S Houghtelin
7-Apr-14 8:07am
View
The mathod demonstrated in the link provided by CPallini will do what you ask. I suggest thet you attempt the method on your own. You will learn something new and add another skill to your knowledge toolkit. Simply asking other people to convert your code is not what this site is for. I would suggest you try first and if it doesn't work, then ask for help. Good luck.
S Houghtelin
24-Mar-14 8:04am
View
I'm sure you have thought of this, but I would only redraw the area within view. Also allow the lines to scale while zooming and redraw the lines when the viewing area has stabilized. Do not allow the application to refresh constantly while zooming, refreshing every 40-50 milleseconds will still allow the visuals to look smooth.
S Houghtelin
21-Mar-14 8:08am
View
I'm glad I was able to help. If you don't mind, if you could click my answer as the solution I would apreciate it.
Regards.
S Houghtelin
5-Mar-14 14:35pm
View
I think the solution is 42.
S Houghtelin
21-Feb-14 7:34am
View
Don't want to be rude, but I don't understand what you mean by "fix", are you saying that you don't want to create a duplicate file?
S Houghtelin
12-Feb-14 15:35pm
View
Don't know why this was down-voted, it does exactly what the OP was looking for.
The ' ' is a space (Or ascii 20), where the '\0' is escape sequence and 0 for 00 which is the null character value ('0' is hex 32 ascii value)
S Houghtelin
10-Feb-14 11:22am
View
That is good information. Good catch on the protocol too.
S Houghtelin
10-Feb-14 8:11am
View
Glad to be of service Allen. Du är välkommen. :)
S Houghtelin
4-Feb-14 15:18pm
View
Two members have given you valid resources for you to use to figure out how to read a configuration file.
Demanding code from people who are generously giving their time to assist you will only result in your query and your member account being marked as abusive.
Read the articles carefully, try using some of the examples shown in the articles. Then show what you have tried and we can help you.
S Houghtelin
4-Feb-14 11:05am
View
Thanks Sergey! :)
S Houghtelin
4-Feb-14 10:24am
View
What are your string values? Please giva an example of the data. Is it"123.4" or is it "Product 14". What does the data consist of?
S Houghtelin
4-Feb-14 10:11am
View
You say you are trying to set the scrollbar value, could you provide some code for us to look at. It may be that you are setting the value too early or prior to displaying the MDI children.
S Houghtelin
4-Feb-14 8:23am
View
+5 for showing your code and for using formatting. You neeed to read up on using the serialport correctly, I see a number of issues and potential for locking the application up.
S Houghtelin
3-Feb-14 9:18am
View
Thank you :)
S Houghtelin
3-Feb-14 9:18am
View
Thank you :)
S Houghtelin
31-Jan-14 7:40am
View
I don't think this person gets that spoken words and words with modulated pace and frequency are two different things. They keep reposting this request. If they do succeed I'll be the first to doff my cap to them.
S Houghtelin
29-Jan-14 9:24am
View
Here is a site that has a very basic code for sending and receiving using sockets.
http://www.csharp-examples.net/socket-send-receive/
I told you what you needed to do to receive the values as binary data. Put the data into an array and parse the data by reading the value at the index location in the received data array as described in your original post. If you want me to write the code for you I will do so but for a fee, I don’t think you can afford my rates.
Good Luck,
S Houghtelin
29-Jan-14 9:06am
View
Hi, you made it sound as though you had some code written, what did you have?
S Houghtelin
20-Jan-14 9:01am
View
Thanks for reading my answer. I chose the navigate event as an easy way to demonstrate. I was leaving it up to you to genrate an On cell change or Save Changes Event. I was going by your question "How to save Excel File from Web Browser.." For that I've provided the correct answer.
Regards
S Houghtelin
15-Jan-14 12:57pm
View
"I guess you didn't get the job." - I think that is a good example of what of the "oops" concept is.
As in "Oops! You didn't get the job because you are not qualified..."
S Houghtelin
11-Sep-13 14:47pm
View
Ravi,
I find that if I render the img to Content (Content = img;) I can see the image on the WPF form. But if I render the rtb (Content = rtb;) all I see is the path to the library source.
Other than that I have run out of time. Hope this helps...
S Houghtelin
9-May-13 12:40pm
View
Which Bluetooth platform are you using? Basic Rate(Legacy) or Low Energy?
How are you attempting to pair with the devices, perhaps show some code where the error is occurring, you say you've been trying, what have you tried?
S Houghtelin
22-Mar-13 7:50am
View
Greetings Kenneth, unfortunately I know very little about SQL server, however, there is a Windows installer toolset called WIX that may provide some useful function for you. The following link is a tutorial from their website. You can decide if this is the toolset for you. http://wix.tramontana.co.hu/
The other options I can offer is to point you to the Quick answers section of Code Project and someone more qualified than myself can provide the information you seek. http://www.codeproject.com/script/Answers/List.aspx?tab=active
There is also the Database & SysAdmin forum here at Code Project where you may pose your query. http://www.codeproject.com/Forums/1725/Database.aspx
Hope you find the information you seek.
S Houghtelin
11-Aug-11 12:24pm
View
You beat me to it while I was composing my answer. +5
S Houghtelin
11-Aug-11 8:20am
View
Bonjour, s'il vous plaît utiliser l'anglais comme ce forum est en anglais. Par ailleurs, votre question ne fournissent pas d'informations suffisantes pour quiconque de vous aider.
Cordialement.
S Houghtelin
10-Aug-11 6:27am
View
OK, sounds good. I am glad you were able to work your issue out.
Good luck and happy codinng :)
S Houghtelin
10-Aug-11 6:25am
View
It's called progress, I know some peoples idea of progress may not be the same as others but the fact is newer, better features were added to the Office 2007 and up suite that simply were not a part of the previous versions.
As of April 15, 2009, mainstream support was no longer available for Office 2003, they want people to buy the newer versions.
Now for your concern, perhaps you can provide the code with which you are have trouble with. There usually is a work around. Without specifics no one can help you. Something like, "When I get to this line:
MyVar = ThisDocs.parameter.Title
Then describe what you were trying to do, like I am trying to grab the Title from My document.
If you are not sure which line is causing the issue comment them out one at a time until the program works, then start putting them back in until the program breaks again. This is debugging.
I am trying to be helpful here, please don't be insulted if I appear being too simplistic I have no idea where your programming abilities are.
S Houghtelin
8-Aug-11 10:53am
View
Thank you Manfred,
I have considered writing an article on effective searching, but I asked myself, how would they find it? :)
S Houghtelin
7-Aug-11 19:37pm
View
receiveddata = SerialPort1.ReadByte() should do the trick. By now you have read the ascii table and can use the decimal (integer) values to decipher what the RFID card reader is sending.
Or you can use convert.tohex or HEX(n).
Good luck and Thanks!
S Houghtelin
5-Aug-11 11:44am
View
As I said, those are a part of the extended ASCII set and are not being interpreted correctcly. This from MSDN.
By default, SerialPort uses ASCIIEncoding to encode the characters. ASCIIEncoding encodes all characters greater then 127 as (char)63 or '?'. To support additional characters in that range, set Encoding to UTF8Encoding, UTF32Encoding, or UnicodeEncoding.
Just because it is another case of MS improving my life that pisses me off, I have to figure this out because it part of my job. I'll get back to you.
S Houghtelin
4-Aug-11 17:42pm
View
That is because they are ascii characters and the display doesn't have a correct symbol.
Look up ASCII table on google and you will see what I mean.
02 = STX = Start of text
00 = Nul = Null
09 = TAB - Horizontal tab
And so on.
Additionally look up sysinternals and download the portmon utility. This will allow you to monitor the comm port in action.
Good luck.
If you find this information helpful please vote on the rating stars by the answer. Thank you.
S Houghtelin
4-Aug-11 16:05pm
View
See my updated answer.
S Houghtelin
4-Aug-11 15:42pm
View
I think the string "code" you have should work, use WriteLine instead of Write.
Like this:
code = Chr(&H2) + Chr(&H0) + Chr(&H9) + Chr(&H35) + Chr(&H32) + Chr(&H8) + Chr(&H99)
SerialPort1.WriteLine(code)
S Houghtelin
3-Aug-11 12:30pm
View
What happens if the query returns False?
S Houghtelin
2-Aug-11 14:28pm
View
It is not the message box, when you send the AT command you need to allow time for the modem or other device to respond to that command.
Also the message box is not the best one to use for reading the input from a comm port, the message box is for text, what comes in from the serial port may or may not be text.
Please next time use the blue "Add Comment" to reply to an answer. Don't use "Add your solution here" to reply. This way the person who posts an answer will get an email. Thank you.
S Houghtelin
21-Jul-11 15:09pm
View
Glad to be of service :)
Thank you for the vote.
S Houghtelin
21-Jul-11 13:48pm
View
Added pre block for readability.
S Houghtelin
20-Jul-11 14:30pm
View
Can you provide the code where the error is generated?
S Houghtelin
20-Jul-11 7:35am
View
I hear you, kudos for going beyond what your curriculum offers!
I thought about it after I posted. You're right the courses I took were in C/C++. There are differences from VC# that I learned in my own by going online and through books that I got as described. Good luck! :)
S Houghtelin
19-Jul-11 15:42pm
View
Thanks Richard! I worked hard on it. And I did it without Google.
S Houghtelin
11-Jul-11 19:02pm
View
I don't know if I would catagorize my self as top class, but thank you for your kind words. :) One could say the same for you.
Have you considered submitting some of your articles here on CP? I think you have a good writing style. The code is easy to follow and understandable.
S Houghtelin
11-Jul-11 13:49pm
View
Appreciated, thanks. :)
BTW, like your blog, good read. Especially the top article for saving forms settings. The Load and Save event section are relavant to the question.
S Houghtelin
11-Jul-11 12:37pm
View
Thank you, if you found this to be helpful, please mark the answer as solved.
S Houghtelin
11-Jul-11 12:31pm
View
Is the varaible a boolean variable?How is variable "run" declared? like this?
Dim run as Boolean
S Houghtelin
8-Jul-11 9:54am
View
Perhaps you are already doing it the fastest way that it can be done, without seeing the code we cannot help you.
Please update your question, "etc. etc." is not valid syntax.
S Houghtelin
7-Jul-11 12:11pm
View
You need to update your build version number, that is what you need to do to stop getting that error message.
Updating the version number will make sure that the old project files (Old version) will be written over with the new project files (New version) as you want it to do.
Please read the following sentence to do this...
Under the VB project menu select the project properties. Then click the publish tab (should be on the bottom left). Increment your publish version number.
The version number should automatically increment every time you build the release version. ****(You did build it as a release version, correct?)****
S Houghtelin
7-Jul-11 12:11pm
View
Deleted
You need to update your build version number, that is what you need to do to stop getting that error message.
Updating the version number will make sure that the old project files (Old version) will be written over with the new project files (New version) as you want it to do.
Please read the following sentence to do this...
Under the VB project menu select the project properties. Then click the publish tab (should be on the bottom left). Increment your publish version number.
The version number should automatically increment every time you build the release version. ****(You did build it as a release version, correct?)****
S Houghtelin
7-Jul-11 11:30am
View
"This Version of Product is already installed ..." Update your build version number.
Under the VB project menu select the project properties. Then click the publish tab (should be on the bottom left). Increment your publish version. This should automatically increment every time you build the release version. (You did build it as a release version, correct?)
S Houghtelin
7-Jul-11 10:59am
View
Ok, by using the links I suggested you go through I found this link (http://msdn.microsoft.com/en-US/library/k3bb4tfd(v=VS.80).aspx)
To create a setup and deployment package you need to create a Visual Studio setup project then you can add your vb.net project to the setup project.
You need to read the material that John and I have provided for you to learn from. The exact solution is not a click button 1 then click button 2 solution.
To be a good programmer you need to learn how to find information and implement what you find, beyond that I am not sure what I or anyone can do for you.
S Houghtelin
7-Jul-11 10:58am
View
Deleted
Ok, by using the links I suggested you go through I found this link (http://msdn.microsoft.com/en-US/library/k3bb4tfd(v=VS.80).aspx)
To create a setup and deployment package you need to create a Visual Studio setup project then you can add your vb.net project to the setup project.
You need to read the material that John and I have provided for you to learn from. The exact solution is not a click button 1 then click button 2 solution.
To be a good programmer you need to learn how to find information and implement what you find, beyond that I am not sure what I or anyone can do for you.
S Houghtelin
7-Jul-11 7:55am
View
This the correct method to use, OP needs to apply method to populating his combobox. +5
S Houghtelin
1-Jul-11 11:25am
View
Thank you :)
S Houghtelin
1-Jul-11 10:52am
View
Thank you, and thanks for the upvote :)
S Houghtelin
1-Jul-11 10:50am
View
You should not ask a question by posting it as an answer. Rather update your question by clicking improve question.
S Houghtelin
1-Jul-11 8:38am
View
Excellent! I shall implement this immediately. As soon as I can link the bistfelber to the frengous framwork.
S Houghtelin
30-Jun-11 15:30pm
View
Happy to be of service, thanks for the upvote! :)
S Houghtelin
29-Jun-11 15:55pm
View
You may need to declare the configmgr object outside of the function. Then the with/end with may work. You will have to experiment some. Also assure that configmgr is referenced by the project.
S Houghtelin
29-Jun-11 13:46pm
View
Is the function trying to return a value? Or is is it expecting a value?
If it returns a value then the line should read myVar = configmgr.VA
the other way around would be configmgr.VA(myVar)
S Houghtelin
29-Jun-11 13:37pm
View
To see if the object was successfully created try typing just configmgr, then add the "." this should expose the objects visible properties.
If nothing shows up you may to make sure that configmgr exists or that VA is a public property or function.
S Houghtelin
29-Jun-11 13:29pm
View
OK, this should work then.
S Houghtelin
29-Jun-11 8:49am
View
See my edit above.
S Houghtelin
29-Jun-11 8:22am
View
Good answer. +5
S Houghtelin
29-Jun-11 8:21am
View
Apparently, it was. +5
S Houghtelin
29-Jun-11 8:16am
View
There are generally several issues that are addressed when an update is provided, usually all are necessary fixes.
My suggestion would be to ask a friend who has a fast internet connection to download it for you. If not is there a local library or an internet cafe with wifi where you can download from?
S Houghtelin
29-Jun-11 6:08am
View
Thank you Sergey!
S Houghtelin
28-Jun-11 8:04am
View
I'd 5 this if I could. I think this mouse eats greetz :)
S Houghtelin
28-Jun-11 8:03am
View
Deleted
I'd 5 this if I could. I think this mouse eats greetz :)
S Houghtelin
28-Jun-11 7:56am
View
Which click event? Some code would be helpful.
S Houghtelin
28-Jun-11 7:45am
View
Paychecks, at least in my case.
My company posseses me to fix their broken VB6 apps :)
As long as the Win OS supports VB6, companies will cling to the old ways. We are slowly migrating the apps to to C# and VB.NET. Meanwhile the VB6 apps still require support.
S Houghtelin
22-Jun-11 8:39am
View
This does work. Good answer.
S Houghtelin
22-Jun-11 8:34am
View
I hate getting uni-voted just because someone doesn’t like the answer. Your answer explains the reason for the error message.
Also would like to point out to the OP that this does not prevent getting the time, it means you can’t set the time. Which indicates the OP needs to show some code because it appears the code they are using is attempting to set the time. (Meaning, wrong code)
I hope my 5 is enough to compensate.
S Houghtelin
22-Jun-11 6:16am
View
Thanks Sergey.
I did wonder what the OPs intent was.
S Houghtelin
21-Jun-11 17:29pm
View
Two words? BM... that's what you wish would happen when you are constipated, ABM is what happens after the first BM. Nope, can't do it in two words. Sorry :(
S Houghtelin
21-Jun-11 8:51am
View
You beat me and every one else on that one... 5
S Houghtelin
21-Jun-11 7:24am
View
All very good advice +5 for each from me.
You can start learning C++ on your own, there are a number of good web sites, including Microsoft where you can begin to learn a good C foundation. However nothing beats a decent classroom experience online or in a class room. There if you do not understand the concept you can ask questions, not just the instructor but there is usually one or two student who get it. Plus you’ll get the added benefit of a certificate or you can apply the credits towards a degree.
Do a little research to find a good online or classroom course, ask around. There are some that are bad but there are some excellent ones as well.
S Houghtelin
20-Jun-11 14:15pm
View
What programming language are you using? C++ C# VBA VB6 VB.NET? other?
S Houghtelin
20-Jun-11 10:18am
View
First break it down, then at least
try
to write some code.
Then if you are having trouble getting it to work. Post the code you have tried, we may be able to assist.
S Houghtelin
20-Jun-11 6:14am
View
Care to elaborate as to why this was downvoted anyone? This is code from a VB6 project that works as the OP describes.
S Houghtelin
17-Jun-11 15:29pm
View
Compensated, and your answer is correct.
To explain what OP meant by count is; 1 count = 0.019 Volts, it is the non converted AD value. An 8 bit AD converters has 256 counts. You can then just multiply the count number by the conversion factor. 125 counts = 2.5 Volts.
S Houghtelin
17-Jun-11 9:16am
View
Depends on how close to the hardware the developer is working, for example if the engineer is developing a circuit for a motor controller the microcontroller being will very likey use C or C++ written on a compiler with libtraies provided by the manufacturer specific to that microcontroller. These sytems are very different than programming for a operating system.
For this you can look at something like these:
http://www.freescale.com/webapp/sps/site/homepage.jsp?code=TOWER_HOME&fsrch=1&sr=1
These are hardware platforms that can be programmed to perform specific functions like a clock or a media player. The example codes are generally provided in C++.
S Houghtelin
17-Jun-11 8:59am
View
Obsolete, Yes and No. Windows is here to stay as far as anyone can guess. In what form that is the question.
Win32 is not dead, but is dying (Think XP). However there are still plenty of businesses who simply cannot afford to chuck all of their applications out the door given the amount of time and expense put into them.
I can spend a good chunk of my time supporting VBA, VB6 applications that due to regulations in FDA for health devices that would require a complete V&V redone (Read: lots and lots of $$$) to migrate them.
There are plenty of old timers who will continue to support this technology, but I would advise learning the new(er) platforms.
S Houghtelin
17-Jun-11 8:15am
View
"Plz PM me if u are interested" Is not a good way to request assistance.
I understand you are attempting to be polite, but text speak is considered offensive by more than a few people.
Can you provide some code for us to look at so that it can be evaluated.
S Houghtelin
15-Jun-11 14:11pm
View
I hope that publisher was willing to provide assistance.
It sounds like you are honing your research skills. Perhaps you can update your question to include the links you found helpful so that others who are interested in the same type of application can learn from your experience.
Kind Regards
S Houghtelin
15-Jun-11 13:32pm
View
The disassembeler allows user to see the pseudo assembly language for .NET. IL disassmeber tool shows namespace and types including their interfaces. But will not reproduce the C# code, Useful yes, but not for what the OP wants to do.
The OP would do well to research lan over the internet techniques.
S Houghtelin
10-Jun-11 11:31am
View
I was wondering what a snorti packet was, shame on me for my fist thought :(
S Houghtelin
10-Jun-11 8:15am
View
Deleted
This is not an answer. Do not post as a solution.
S Houghtelin
9-Jun-11 15:25pm
View
+5 Good answer, and for your comment below, made me smile.
S Houghtelin
7-Jun-11 18:35pm
View
Thank you for having the guts to admit a mistake, and for the vote correction.
Kind Regards
S Houghtelin
7-Jun-11 15:20pm
View
OP: "like textbox in calculator" He has not indicated he was looking for language formatting which is not "like textbox in calculator"
Before posting code, to assure accuracy I will test the code prior to posting, this method works in my C#, the text behaved like "like textbox in calculator"
Perhaps kumar from vijayawada could elaborate on this, but I'm not sure this warranted 1 voting everyone who genuinely attempted to help. These were not intended to be mean spirited answers.
S Houghtelin
31-May-11 10:49am
View
+5 Good answer!
S Houghtelin
28-May-11 9:17am
View
Of course ! :o)
S Houghtelin
27-May-11 9:38am
View
Be aware that the process of measuring the time of each loop and displaying the time for each loop will prbably use more time than the operation you are timing. :/
This will provide erroneous timing results.
S Houghtelin
27-May-11 9:35am
View
Thanks and same as above :)
S Houghtelin
27-May-11 9:34am
View
Thanks :) I'll return the favor.
S Houghtelin
27-May-11 9:15am
View
"i used the downloaded code " What downloaded code would that be?
Do you have the speakers turned on?
S Houghtelin
27-May-11 7:39am
View
Hello,
I know this sounds stupid simple, but the error you describe can be generated if the printer is either not connected or it is turned off.
Another thing to look at would be to assure that all the printserver and queue properties have been initialized. It sounds like you have made the connection, can you access the properties?
I'm sure that you have looked this article over, but this covers how to copy and set the proerties to clone a local print server. (http://msdn.microsoft.com/en-us/library/ms573300.aspx#Y605)
Good luck, almost there :)
S Houghtelin
26-May-11 12:02pm
View
You can try using LocalPrintServer to access the ConnectToPrintQueue(PrintQueue) and purge the queue that way. (I haven't tried this myself)
link(http://msdn.microsoft.com/en-us/library/system.printing.localprintserver(v=VS.100).aspx)
S Houghtelin
26-May-11 11:32am
View
Thanks :) and I did neglect to add the MSDN link.
S Houghtelin
26-May-11 8:29am
View
You asked for tutorials and some very good links have been provided already, you should read through them and try to apply what they tell you.
You will be a better coder for having solved it out on your own.
If you have been trying to do this, let us know where you are having problems by providing the code that you have come up with. We are not going to just write your program for you.
S Houghtelin
25-May-11 11:32am
View
Deleted
From Microsoft. "Microsoft discourages using managed code in Office 2000 or in Office XP. Be careful when you try to introduce managed code into these Office versions. These Office versions were designed and tested before the .NET Framework was created." (http://support.microsoft.com/kb/948461)
So the short answer is, no. C# addins will not work in Excel 2000.
There are work-arounds and it seems there are number of forums that discuss this very problem but it seems to be a lot of effort to support the older versions.
S Houghtelin
24-May-11 8:20am
View
Yes it is possible.
Where is the picturebox? (A form in excel?, another spreadsheet? an application outside of Excel?)
More information would be helpful for others to help.
Regards.
S Houghtelin
24-May-11 7:38am
View
You are very welcome, I am very glad that worked for you.
Sometimes the simple solutions aren't so easy to spot, I fall victim to that quite often. I was recently working on a project where there were intermittent drops in the data stream, so before I went and stormed off and told the other programmers, I checked my own code. I found some errors, and fixed them. Did not fix the intermittent issue but I can present the issue without fear of the issue being distracted by my own mistakes.
Peer reviews aren’t fun as most programmers/designers are masters of the obvious, but so aren’t we all. :)
Also, welcome to Code Project! I have found this site to contain very useful information. Most of the folks here are helpful and accommodating.
[Edit] And thanks for the upvote, I appreciate it!
S Houghtelin
16-May-11 14:05pm
View
"If someone wants to help me, I will be owe him forever ..."
This is correct becuase yoiu will not earn a living writing code. As stated previously, you need to change your academic path to something that you will not find so difficult.
Speak with your instructors, maybe they will take pity on you and give you an extension on your assignment. If they do, don't waste your time running door to door, do your assignment.
S Houghtelin
12-May-11 12:23pm
View
5, Because it is funny.
S Houghtelin
12-Apr-11 8:07am
View
Deleted
I'll 5 this because to admit and delete is far more venerable than, don't admit, convince the boss it's the best or only way that it can be done, and pass it off to another programmer and denigrate that poor soul for not understanding your genius. Yes, even experienced programmers/coders with guns make mistakes... Just be careful though. :)
S Houghtelin
17-Jan-11 9:05am
View
Deleted
Reason for my vote of 5
Been there,done both. Great tips.
Show More