 |
|
 |
Apologies for the shouting but this is important.
When answering a question please:
- Read the question carefully
- Understand that English isn't everyone's first language so be lenient of bad spelling and grammar
- If a question is poorly phrased then either ask for clarification, ignore it, or mark it down. Insults are not welcome
- If the question is inappropriate then click the 'vote to remove message' button
Insults, slap-downs and sarcasm aren't welcome. Let's work to help developers, not make them feel stupid.
cheers, Chris Maunder
The Code Project Co-founder Microsoft C++ MVP
|
| Sign In·View Thread·PermaLink | 4.29/5 (20 votes) |
|
|
|
 |
|
 |
For those new to message boards please try to follow a few simple rules when posting your question.- Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
- Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
- Keep the subject line brief, but descriptive. eg "File Serialization problem"
- Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
- Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
- Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
- If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode HTML tags when pasting" checkbox before pasting anything inside the PRE block, and make sure "Ignore HTML tags in this message" check box is unchecked.
- Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
- Please do not post links to your question in one forum from another, unrelated forum (such as the lounge). It will be deleted.
- Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
- If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
- No advertising or soliciting.
- We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
cheers, Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
| Sign In·View Thread·PermaLink | 4.13/5 (156 votes) |
|
|
|
 |
|
 |
Hello. One program code Gsm_Modem to send or receive has to face. hardware that me with the USB port. Anyone who can help me. Tanks!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
Hi All, Using Visual studio 2008, I have an application that its data can save to a binary file, using *.SDB extension, Moreover users can open this file from my application. I have 2 questions about this. 1- How can I assign an icon to this saved file with SDB extension when my application has been installed in other computer? 2- Similar to *.sln file (for Visual Studio project), How can I assign tow icon to single extension? For example when a solution is saved with visual studio 2005 its icon different from that one saved from visual studio 2008. In first, the solution’s icon contains “5” but in 08 solution’s icon contains “8”. Thanks Again.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
There is no need to import API functions to work with the registry, just use the ones built in to VB.NET.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
 |
What is it with you people.
Go google, have a go yourself first.....then when you get stuck come back with a specific question and show us what you have tried.
Yes, i 1 voted you.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I m desinging webbot which Logins on faceBook site select Friends List and Have to delete contacts I m having problem while delete List cause DeleteList is not a button in webpage and i dont know how to access and capture its even using webbrowser control plz help
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Maybe you should be looking first at any FB API's to see if they have the suitable messages you can use directly.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I am currently trying to create a Web Design program, freeware, for use to help with the aid of web design. I want it to be sorta like... "Web-Design-Toy" by ACME, only with more features. I have practically everything that I want to be in the application ready. I just need to know how to get it so when the user types into the textbox, it prints out the website view in the web browser control, as to be a "Live View". I currently have no idea how to do that, other than the textbox saving as a certain ".html" document every single time something is typed in, and then the web browser refreshes that document when it is done saving, and right now I don't think that's possible to code using just Visual Basic 2008 Express Edition. Anybody have any ideas of how to code that with Visual Basic 2008 Express Edition!?! Please and Thank-You!!! If you know of the exact coding I am looking for, please post it, or send it to me somehow. Thank-You!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
How about myWebBrowser.DocumentText=myTextBox.Text?
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
Hi,
one way to do it is by having a loop that: 1. takes the length of the string 2. replaces two spaces by one 3. takes the length of the new string 4. loops to (1) if the length has changed
If large sequences of spaces occur, you can also replace a larger number of them in one shot (insert this between steps 1 and 2).
Alternatively, you could use Regex to replace multiple spaces by one space.
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
The easiest way to do this is to call string.Replace(" ", " ") until you can't find a double space in the string, which you could check in a while loop
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
If someone has experienced please help with the following: I need to save path to image using nini (http://nini.sourceforge.net) So everything works except the path from OpenFileDialog The code is:
Imports System.Diagnostics Imports Nini.Config Imports System.IO
Public Class CompanySetup Public Shared fileBanner As String Private sourc As IniConfigSource Private Sub btnBrowse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBrowse.Click
With bannerFile .CheckFileExists = True .ShowReadOnly = False .Filter = "All Files|*.*|Bitmap Files (*)|*.bmp;*.gif;*.jpg" .FilterIndex = 2 If .ShowDialog = DialogResult.OK Then bannerBox.Image = Image.FromFile(.FileName) fileBanner = bannerFile.FileName.ToString
End If End With End Sub sourc.Configs("General").Set("Imgpic", strimg)
sourc.Configs("General").Set("CoName", txtCoName.Text) sourc.Configs("General").Set("Imgpic", fileBanner) sourc.Configs("General").Set("Addr", txtAddr.Text) sourc.Configs("General").Set("Phone", txtPhone.Text) sourc.Configs("General").Set("Fax", txtFax.Text) sourc.Configs("General").Set("Email", txtEmail.Text) sourc.Configs("General").Set("Vat", txtVat.Text) sourc.Configs("General").Set("Btm1", txtBtm1.Text) sourc.Configs("General").Set("Btm2", txtBtm2.Text) sourc.Configs("General").Set("Btm3", txtBtm3.Text) sourc.Configs("General").Set("Btm4", txtBtm4.Text)
sourc.Save()
Private Sub CompanySetup_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load sourc = New IniConfigSource("dvinv.ini") Dim config As IConfig config = sourc.Configs("General")
txtCoName.Text = config.Get("CoName") fileBanner = config.Get("Imgpic") Try bannerBox.Image = Image.FromFile(fileBanner) Catch ex As Exception End Try txtAddr.Text = config.Get("Addr") txtPhone.Text = config.Get("Phone") txtFax.Text = config.Get("Fax") txtEmail.Text = config.Get("Email") txtVat.Text = config.Get("Vat") txtBtm1.Text = config.Get("Btm1") txtBtm2.Text = config.Get("Btm2") txtBtm3.Text = config.Get("Btm3") txtBtm4.Text = config.Get("Btm4")
End Sub No key value Imgpic changes in .ini file! Please help.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
I don't understand your question, and I think it might be a translation issue.
I will however advise you that no one will download your entire source code and go through it for you doing your work, you will have to pay to have that kind of help.
However if you are stuck on a specific issue, which I think you might be, please post a clear, concise message detailing the issue at hand so we can guide you in the right direction.
|
| Sign In·View Thread·PermaLink | 5.00/5 (2 votes) |
|
|
|
 |
|
 |
wgarnett wrote: I got a test register source code from other friend but I want to change register check fuction disable
How to change return value ? I have changed some ... plz help to finish .
Sounds like you're doing homework ? It also sounds like you need to read some basic programming texts. You change the return value inside a method, by returning the value you want. You change the type of the return value by changing the method signature.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I am developing a project which gives excel files as output. I have tested this application on three different machines. Out of three, on one machine files gets created with size in kbs. which is correct. other two machines generate same files with size in mbs.
for example
one file say abc.excel which contains only 3 records gets generated on machine with size 24kb, but the same file on other two machines gets genreated with size 2016kb.
What could be the possible reason?
Please help.
Thanks in advance.
|
| Sign In·View Thread·PermaLink | 1.00/5 (2 votes) |
|
|
|
 |
|
|
 |
|
|
 |