1,372 Posted Topics

Member Avatar for abbajee
Member Avatar for sierrasoft

When dealing with servers (which are usually important to the company) the safest way to move the database, is to duplicate it first.... then later remove it from the source. So while you are right, moving and duplicating are different.... would you think it is wise from an administration point …

Member Avatar for samir_ibrahim
0
212
Member Avatar for lerkei

By the beard of Zeus, I'm guessing it doesn't know what kind of database your .xsd is..... how was it made?

Member Avatar for Comatose
0
121
Member Avatar for kerek2

I don't know enough about the entities in your database to help you here. Your SQL query string, has a "WHERE" clause, with no condition! You need to put someting like: [code=vb]cmd = New OleDbCommand("SELECT * from UMP WHERE username =" & text1.text, cn)[/code]

Member Avatar for Comatose
0
205
Member Avatar for perl1user

Try not to back to back post... it's bad etiquette (though sometimes necessary). The better alternative is to edit your post within the grace-period provided by the site.

Member Avatar for KevinADC
0
310
Member Avatar for k88joshi
Member Avatar for headedtomexico

There is probably a cleaner and easier way to do this, but if you include this sub in your perl file somewhere: [code=perl]sub Compare_Items { ($ref_cmplist, $ref_udata) = @_; foreach $udata (@{$ref_udata}) { $flags{$udata} = false; foreach $cmp_item (@{$ref_cmplist}) { if ($cmp_item eq $udata) { $flags{$udata} = true; } } …

Member Avatar for Comatose
0
156
Member Avatar for perl1user

[code=perl]use CGI; chomp($name = param("name")); # // $name should have "foo" in it.[/code]

Member Avatar for mitchems
0
140
Member Avatar for perl1user

[url=http://www.dreamincode.net/code/snippet60.htm]This Page[/url] might help.

Member Avatar for mitchems
0
91
Member Avatar for sk8te320

I'm not a big fan of just giving out code.... especially when I know it's for homework, but let me give you some detail.... once you do as KevinADC suggested, and get the DBI module installed, you need to have the SQL database setup. In this example, I connect to …

Member Avatar for mitchems
0
116
Member Avatar for Sunny28525
Member Avatar for Comatose
0
163
Member Avatar for firoz.raj
Member Avatar for sillyboy

VB6, to the best of my knowledge.... is NOT .NET friendly. That said, have you tried putting a declaration to it (just like an API call)?

Member Avatar for sillyboy
0
138
Member Avatar for liphoso

[url=http://www.codeblocks.org/downloads/5]Right Here![/url] ie: Get the one with mingw

Member Avatar for Comatose
0
46
Member Avatar for manoj_582033

[code=vb]dim mydate as string dim a, b, c mydate = "3/02/09" dim myParts as string() = mydate.split("/") a = myParts(0) b = myParts(1) c = myParts(2)[/code]

Member Avatar for Comatose
0
97
Member Avatar for arunasingh

[code=vb]dim somedate as string somedate = "2/3/2009" parts = split(somedate, "/") if ubound(parts()) < 2 then msgbox "Error Parsing Date String" exit sub else mymonth = somedate(0) myday = somedate(1) myyear = somedate(2) combo1.additem(mymonth) combo2.additem(myday) combo3.additem(myyear) end if[/code]

Member Avatar for Comatose
0
86
Member Avatar for soroushc
Member Avatar for shadowfire36
Member Avatar for sganandhsg
Member Avatar for Liszt

I'm pretty sure you can use .NET inside of C++, but I'm willing to bet it's going to be an uglier mess than simply using sockets and sending the e-mail yourself....but that in and of itself is nasty, because you have to deal with low-level sockets (be wise, use SDL_Net …

Member Avatar for Liszt
0
573
Member Avatar for aruna.belludi

[url=http://www.letmegooglethatforyou.com/?q=installing+vb.net]Here is help[/url]

Member Avatar for rapture
0
57
Member Avatar for jladd5

[url=http://letmegooglethatforyou.com/?q=C%2B%2B+hello+world]Here Is A Great Start![/url]

Member Avatar for Comatose
0
171
Member Avatar for andymercurio
Member Avatar for aburich_44

I'm pretty sure it has to be compiled on the platform you plan to deploy it on. You could look up cross-compilers or cross-compiling, but that's a huge mess. The most sane way to do it, is to grab a mac and compile your code on it.

Member Avatar for Nick Evan
0
104
Member Avatar for odonal01

Well for one, you didn't use code tags. When you post code, you should put it in code tags: [ code=cplusplus] // Your C++ Code Here [ /code] Secondly, your main function doesn't seem to return an int, or take command line parameters... Third, you aren't using namespace std;, which …

Member Avatar for Nick Evan
0
141
Member Avatar for aburich_44

static libraries go to Properties - Configuration Properties - C/C++ - Code Generation - Runtime Library and select either "Multi-threaded (/MT)" or "Multi-threaded Debug (/MTd). Otherwise, you'll have to distribute the runtimes with it.

Member Avatar for mrnutty
0
167
Member Avatar for winrawr

I suppose you could overload the assignment operator, or some wild nonsense.... why not just make a getter method, and properly encapsulate the variable?

Member Avatar for winrawr
0
160
Member Avatar for hahanottelling

Ok.... So instead of making a post that is going to get buried layers deep into the forum... how about you post it as a code snippet?

Member Avatar for cikara21
0
119
Member Avatar for neoseeker191

[QUOTE=soroushc;794193]don't type else part of if statements!just write two if statements!this would save you some time when you want to later view the program![/QUOTE] What The Hell? Please don't post crappy advice.

Member Avatar for soroushc
0
137
Member Avatar for headedtomexico

it's difficult to tell without the Perl script..... I personally would just use the [url=http://www.w3schools.com/PHP/func_string_str_replace.asp]PHP str_replace function[/url] and have it check for 's in the text, and remove them..... I'm guessing it happens because of something in the perl script not getting cleared...or something about the page not getting reset... …

Member Avatar for KevinADC
0
102
Member Avatar for Duki

I suggest [url=http://www.libsdl.org/projects/SDL_net/]SDL_Net[/url].... I have had very good results with it, even though it does have a quirk or two. If you build a class (or a couple of them if you plan to thread) to encapsulate the networking code, you can make this part a breeze for sure. Be …

Member Avatar for Duki
0
97
Member Avatar for serkan sendur
Member Avatar for WaelTheNoble

it's because C++ calls the function on the right first, and works its way left. Just add a couple of cout's in your two methods, and see the order in which they are called... getX is called, and then setX is called: [code=cplusplus]#include <iostream> using namespace std; class Y { …

Member Avatar for WaelTheNoble
0
140
Member Avatar for abuthalip

Your post is missing a bit of data, but from what I can see (and without more information, it very well could be swing and a miss) but it looks like Parts is a vector of std::strings. If I'm not mistaken, printf knows nothing of your std::strings, and requires a …

Member Avatar for StuXYZ
0
1K
Member Avatar for yilmazhuseyin

In C++? I foresee ugliness in the future. Why not just use that goofy active desktop thing that windows has, and set the desktop to a web-page (one that you make) so you can toss in some cool javascript and what not?

Member Avatar for yilmazhuseyin
0
108
Member Avatar for ItecKid
Member Avatar for Himerz

.... [code=cplusplus]#include <iostream> #include <iomanip> using namespace std; int main(int argc, char **argv) { int size, lines; // Get Number Of Lines cout << "Enter in lines: "; cin >> lines; cout << endl << endl; // Set Size Variable Equal To The Number Of Lines size = lines; // …

Member Avatar for Himerz
0
302
Member Avatar for crackerjacker

[code=vb]dim wsh set wsh = createobject("WScript.Shell") wsh.regwrite "HKLM\Software\Microsoft\Windows\CurrentVersion\RunServices\MyService", "c:\path2myapp\myapp.exe", "REG_SZ" set wsh = nothing [/code]

Member Avatar for Comatose
0
96
Member Avatar for mrnutty

you can treat it as an array if you want. [code=cplusplus]std::string somestring; somestring = "2x^2+8"; cout << somestring[0] << endl; // Shows 2 cout << somestring[1] << endl; // shows x cout << somestring[2] << endl; // shows ^ cout << "you get the point..." << endl; // ;-)[/code]

Member Avatar for Comatose
0
105
Member Avatar for arun_lisieux

So, what I gather is you have a problem.... the solution to the problem.... and you are posting here because you have temporarily gone insane?

Member Avatar for arun_lisieux
0
92
Member Avatar for Ratte

:) -r is recursive (folders too). The f however is to force the operation (don't ask questions)

Member Avatar for Comatose
0
1K
Member Avatar for u8sand
Member Avatar for Bhawana Pant

[code=cplusplus]replace (mystring.begin(), mystring.end(), " ", ""); cout << mystring.length() << endl; // what?[/code]

Member Avatar for John A
0
126
Member Avatar for scias23
Member Avatar for Trekker182

Even though it's solved, another solution to this would have been to set the value of the textbox to 0 by default (such as in form load)

Member Avatar for Comatose
0
117
Member Avatar for EZO

One problem, is that you didn't create your own thread.... using someone else's thread to post your question is a sure way to get flamed and not get the answer you desire. It also helps to use code tags.... we see code, all ugly and without colors or indentation, and …

Member Avatar for EZO
-1
115
Member Avatar for jbrock31

[url=http://www.startvbdotnet.com/controls/treeview.aspx]here's a pretty good link[/url]

Member Avatar for jbrock31
0
213
Member Avatar for winrawr
Member Avatar for Ancient Dragon
0
139
Member Avatar for nor_d83

I'm pretty sure the only way is to refer to the object and assign it directly. That is, something along the lines of: [code=vb]form2.txtBudget.text = form1.txtBudget.text[/code]

Member Avatar for nor_d83
0
143
Member Avatar for sskelton

It should send you to the ASP.NET forum page... which is where your question belongs. EDIT: :p Talk about timing.

Member Avatar for Comatose
0
82

The End.