472 Posted Topics

Member Avatar for terdie

[quote] 2.]I have multiple forms that is "linked". linked in a way that the value of a textbox In the first form will be used in the next form.there are 'next' and 'back' button in every form.when I entered for example "daniweb" in one of my Txtbox,click next,then click back …

Member Avatar for DdoubleD
0
132
Member Avatar for robgeek

Check out this MSDN link and look at the C++ example: [URL="http://msdn.microsoft.com/en-us/library/aa904305(VS.71).aspx"]String to Array using Split[/URL]

Member Avatar for VernonDozier
0
168
Member Avatar for GooeyG

[QUOTE=GooeyG;979885] [CODE]float OverTime::getsalary() { if (hoursWork > 40) { hourlyRate += (hourlyRate /2); } else return hoursWork * hourlyRate; }[/CODE][/QUOTE] Problem with the above function is you have an [icode]else[/icode] clause you don't need. In the above, not all paths return a value because the [icode]return[/icode] statement is part of …

Member Avatar for DdoubleD
0
168
Member Avatar for jbisono

Hi. Did you figure this problem out yet? I could simply give you a short and precise answer to your question--Yes (LOL), but you probably want to know what the reason is too, right? Can you attach the report file and list what the "3 specific values" are?

Member Avatar for jbisono
0
152
Member Avatar for thilinam
Re: C#

In no particular order: [URL="http://www.csharp-station.com/Tutorial.aspx"]http://www.csharp-station.com/Tutorial.aspx[/URL] [URL="http://msdn.microsoft.com/en-us/library/aa288436(VS.71).aspx"]http://msdn.microsoft.com/en-us/library/aa288436(VS.71).aspx[/URL] [URL="http://www.csharphelp.com/archives2/archive402.html"]http://www.csharphelp.com/archives2/archive402.html[/URL] [URL="http://www.devhood.com/training_modules/dist-a/LearningCSharp/learningcsharp.htm"]http://www.devhood.com/training_modules/dist-a/LearningCSharp/learningcsharp.htm[/URL]

Member Avatar for ddanbe
0
90
Member Avatar for Behi Jon

[URL="http://www.google.com/search?hl=en&rlz=1C1CHMR_enUS325US325&q=decimal+hexadecimal+converter+cpp&aq=f&oq=&aqi="]decimal hexadecimal converter cpp[/URL]

Member Avatar for Nick Evan
0
158
Member Avatar for Se7Olutionyg

Can you be more specific with, "I don't know what it means?" Are you talking about compiler errors you are getting?:?:

Member Avatar for Salem
0
84
Member Avatar for riemusic20

It is hard to determine what you require. Can you supply a textual pattern of what the design should look like after it is drawn? Where do the values of "side" and "border" come from?

Member Avatar for DdoubleD
0
112
Member Avatar for ITech

[code=csharp] System.Reflection.Assembly exe = System.Reflection.Assembly.GetEntryAssembly(); string exePath = System.IO.Path.GetDirectoryName(exe.Location); [/code]

Member Avatar for serkan sendur
1
353
Member Avatar for kernel>panic

There are many example projects of file compression in CPP: [URL="http://www.google.com/search?hl=en&rlz=1C1CHMR_enUS325US325&q=compression+cpp+codeproject&aq=f&oq=&aqi="]CPP and File Compression[/URL]

Member Avatar for DdoubleD
0
226
Member Avatar for asafoatse

Look at [icode]Array.IndexOf and Array.LastIndexOf[/icode], which will give you the index of the first and last occurrence of the int in your array.

Member Avatar for jatin24
0
141
Member Avatar for zydaru

[QUOTE=zydaru;978921]Hy, I want to create several mdb files. Done that,I've created several tables, populated them, but I want to protect them by a custom password. How can I do that? :icon_confused: Thanks![/QUOTE] Not sure if this is a C# question, but if you open your MDB and goto Tools > …

Member Avatar for zydaru
0
333
Member Avatar for pilipino93

You can certainly call the OpenFileDialog in your click event: [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.openfiledialog.aspx"]http://msdn.microsoft.com/en-us/library/system.windows.forms.openfiledialog.aspx[/URL] Your application can delete the files they have selected if that is what you want, or load them and have your app do something with it. If you want to allow the user to save a resource, you could …

Member Avatar for DdoubleD
0
143
Member Avatar for Se7Olutionyg

Sure. C2535 - means you already defined a function with that name and parameter list. It's been a while for me in cpp, but try commenting out the prototype statement at line 34 above and see what happens. C1075 - means you have some misplaced/mismatched braces. Check your opening and …

Member Avatar for vmanes
0
145
Member Avatar for Der_sed

goto? really? Why not put the switch code into a function [icode]bool ValidInput(...)[/icode] and then loop for each user's input until it is valid? [code=cpp] while (!ValidInput(...)) { cout<<"...make your move..."; cin>>input; } [/code] You could then reuse one set of the [icode]switch[/icode] code for each user input call. Though …

Member Avatar for DdoubleD
0
145
Member Avatar for kyosuke0
Member Avatar for khemalatha

This article appears to answer your exact problem: [URL="http://www.add-in-express.com/docs/outlook-security-manager-addins.php"]Disable Outlook Security Message[/URL]

Member Avatar for jatin24
0
181
Member Avatar for rena0514

Please use code tags--it is very difficult to look at code that is not formatted. You posted your code, but you haven't indicated a problem. Is there a particular problem you are noticing (compiling or at runtime)? You should also attach your input data file so when someone wants to …

Member Avatar for DdoubleD
0
114
Member Avatar for joshymraj

Sounds similar to another user's question. See responses and see if it fixes your problem: [URL="http://www.daniweb.com/forums/thread220905.html"]http://www.daniweb.com/forums/thread220905.html[/URL]

Member Avatar for DdoubleD
0
103
Member Avatar for Cory_Brown

I'm not sure why Serkan's example was not sufficient, but here is another demonstration. You would need to complete the case labels with the remaining conditional requirements. [code=csharp] public static void Test() { int [] A = {6090, 6100, 6200}; bool b = CompareAB(A, 995); b = CompareAB(A, 1005); } …

Member Avatar for Cory_Brown
0
122
Member Avatar for elidotnet

You probably need to commit your changes. See [icode]AcceptChanges()[/icode] method.

Member Avatar for kvprajapati
0
213
Member Avatar for papanyquiL

[QUOTE=papanyquiL;978424]Ok, so this was a bit more simple than I thought... Here's the method I created to display the control's event info [code=c#] private void LogIt(object sender) { checkedList.Items.Add((string)sender.ToString()); } [/code] Then after the click event of every control I simply put LogIt(sender) and it sends the info into the …

Member Avatar for papanyquiL
0
136
Member Avatar for DdoubleD

I get this error that I don't know how to properly prevent it from happening: [QUOTE]Cannot bind to the property or column SomeField on the DataSource. Parameter name: dataMember[/QUOTE] I'm including a zipped up project I created that simulates what is happening in my much larger application. I have created …

Member Avatar for DdoubleD
0
246
Member Avatar for slfisher

Yes, well, consider the source--FOX News. I was working with a CPA a couple of weeks ago who exclaimed, "I don't want socialized medicine."--she's on Medicare--LOL. She went on to tell me about a Glen Beck show she was watching and how they had all these "experts" there and it …

Member Avatar for Garland
0
2K
Member Avatar for D_switch

Please use code tags. In your matrix function, you are assigning -1 to all elements. If you want to assign the pattern of numbers you specified you would like to output, then you need to assign them as such. Having said that, do you want to put them into your …

Member Avatar for D_switch
0
164
Member Avatar for micka10

[quote]I already searched web about this error and I still cannot figure it out why it is happening. I am the only who is updating the database, there are no other users. The DataRequestTable has primary key defined (NodeID). I have UPDATE statement defined for myDBAdapter. I have no clue …

Member Avatar for sknake
0
254
Member Avatar for gkaykck

[QUOTE=gkaykck;965895]I guess the problem is c# creates the textboxes after runs my naming code. If there way to get the names directly from the database? Or another way for doing this?[/QUOTE] Just an FYI because it's not a solution to your problem. Unless you have manually implemented the creation of …

Member Avatar for gkaykck
0
151
Member Avatar for khemalatha

This snippet demonstrates how to obtain several objects from an Outlook folder. I don't use Outlook, so I can't really verify it, but maybe it will help get you started: [URL="http://geekswithblogs.net/TimH/archive/2006/05/26/79720.aspx"]Outlook Folder Objects[/URL]

Member Avatar for DdoubleD
0
170
Member Avatar for serkan sendur

[QUOTE=ddanbe;961535]Have you a SelectedListViewItemsCollection class, or is it missing in a compact framework?[/QUOTE] I think what ddanbe has led you to is what you want/need. However, I was a little confused when you said there is no constructor and you couldn't create an instance, so I had to check this …

Member Avatar for DdoubleD
1
846
Member Avatar for darab

[QUOTE=darab;960718]Hi Friends i have a datagird and it has 2 columns and have calculate with the content of them but when i typed them in runtime my result was wrong i followed it by BreakPoint and underestood that the content of last column didn't use in my calculate(although it has …

Member Avatar for kvprajapati
0
113
Member Avatar for DdoubleD

Can anyone tell me how to get my blocks of code to automatically indent when I place the final closing brace--"}". This works fine when I am coding in C# and I know there must be a way to enable this feature for CPP source documents.

Member Avatar for DdoubleD
0
143
Member Avatar for LordoftheFly

You are losing the precision in your division. You need to cast: [code] div = (float)num1 / (float)num2; [/code] Your printf requires "%%" to represent a literal % symbol: [code] printf("> %d %% %d = %d.\n", num1, num2, mod); [/code] Can't help you with the search parameter for "C", but …

Member Avatar for LordoftheFly
0
165
Member Avatar for vivekarora

[QUOTE=vivekarora;962189]Hello Friends, Generally, we have pure virtual function without body, but C++ does allow to write pure virtual function with body. Can anyone suggest any use-case where we need to write pure-virtual function with body? Regards, Vivek[/QUOTE] This is news to me, but it has been a while since I …

Member Avatar for vivekarora
0
188
Member Avatar for nickcampbell

[QUOTE=Gribouillis;962256]You could also consider loading all the schools and children in memory and modify the database only when you know in which school each child goes (this can be done if you're able to compute the distance between a child and a school without the ST_DISTANCE function). Also, try to …

Member Avatar for woooee
0
2K
Member Avatar for logine

[QUOTE=logine;962252]please help me to have a program that will compute for n! (n factorial) which is the product of all numbers from 1 to n.[/QUOTE] OK, but this is a secret between you and me: [URL="http://www.google.com/search?hl=en&rlz=1C1CHMR_enUS325US325&q=factorial+cpp&aq=f&oq=&aqi="]factorial cpp[/URL]

Member Avatar for mrnutty
0
93
Member Avatar for Dajer

Well, you probably want to remove any leading or trailing spaces so you don't count extra words--see [icode]string.Trim()[/icode]. Then, you could loop through the string looking for " " (space) and count each one you find using[icode]string.IndexOf() or IndexOfAny()[/icode], but you probably want another loop inside of that to skip …

Member Avatar for ddanbe
0
119
Member Avatar for namehere05

[QUOTE=namehere05;962121]I have the following code and it wont compile, it says no matching function for call to `autop::autop(autop)' at this part [CODE]autop j = f();[/CODE] [/quote] I got no compiler error with that code. [quote] Another Thing: when used inside the function parameter list (i.e autop(autop & s) , whats …

Member Avatar for namehere05
0
174
Member Avatar for akil007

The .NET compact framework does not natively provide support for bluetooth, so you will need to device specific support I believe. Try google'n "Codeproject bluetooth c#" to see some examples. If supporting a particular PDA, you might include that in your search as well.

Member Avatar for Dajer
0
81
Member Avatar for java dummy

[code] if ((count % 2) == 1) [/code] oops! I posted this before realizing it was Java...Sorry in advance if the syntax is wrong.

Member Avatar for java dummy
0
92
Member Avatar for trikker

If you specify a default contsructor for you Item struct definition, this error will go away: [code] Item(void) :name(""), iid(0), value(0.0) {} [/code]

Member Avatar for DdoubleD
0
185
Member Avatar for daveyb91

Is "input" a string and how is it obtained? This might be more of a web programming question, which is probably why nobody has responded to your question yet, but go ahead and answer my question and we will see... Also, please use code tags around your code.

Member Avatar for daveyb91
0
109
Member Avatar for Slippy-D

Not sure whether this is a good idea, but I believe it will do what you asked: [code=csharp] while (true) { // get all instances of notepad running... System.Diagnostics.Process[] procs = System.Diagnostics.Process.GetProcessesByName("notepad"); if (procs.Count() == 0) // process by that name no longer running--we're done break; System.Threading.Thread.Sleep(30000); // pause this …

Member Avatar for sknake
0
2K
Member Avatar for Dajer

Although your code is C#, your error might be strictly DB. Have you checked the server's error log for more details?

Member Avatar for DdoubleD
0
97
Member Avatar for seebharath

FYI: You can set the Tag property to your table for each treenode without having to use an owner drawn control. Are you planning to drag/drop from one TreeView to another?

Member Avatar for kvprajapati
0
100
Member Avatar for megha.jain08

[QUOTE=megha.jain08;959479]hii... :-/ can u plz get me out of the problem..!!!!1 m using visual studio 2005. whenever i click an update button to update values of a particular column of a gridview, all the columns gets updated with the same values. eg. if the 2nd column of 1st row with …

Member Avatar for happygeek
0
160
Member Avatar for ghaith

If the class object is exposed (public) then you can use it. If it inherits from any non-exposed objects (not public) then you will not be able to use it.

Member Avatar for ghaith
0
114
Member Avatar for teabag99
Member Avatar for John A
0
93
Member Avatar for johnherbie

If the controls are not available from the Tools tab in the IDE, then they are not installed and you would have to: 1) find custom controls already written and available for free: [URL="http://www.google.com/search?rlz=1C1CHMR_enUS325US325&sourceid=chrome&ie=UTF-8&q=custom+slider+controls+c%23"]Custom Slider Controls[/URL], or 2) buy a third-party toolkit containing custom controls, or 3) write/create them yourself …

Member Avatar for johnherbie
0
145
Member Avatar for RehabReda

It's not clear by your description what you want us to do. You provided some code, and some sort of description of what it does, but not whether you want it to do something different, or you are getting an error, etc. Please clarify how you want to be helped.

Member Avatar for DdoubleD
0
2K
Member Avatar for papanyquiL

Are you asking how to check for version information? If so, are you asking how to check it inside the application, or inside the setup/install?

Member Avatar for papanyquiL
0
86

The End.