|
If you mean in code then it depends what kind of database. If it is for example SQL Server - use ADO[^] to do it.
If not in code than I don't know what you mean
Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
|
|
|
|
|
OK,just bellow:
I used SQL Server 2000 created a data source.Then I put it on to my homepage.Although The server support SQL Server DataBase,but it is impossible for him to run a srever App for my Client App.So I must used my ID and Password connect to it directly from my Client App.Also I want it to work very smoothly no matter where my Client App runs.
FoolBear
|
|
|
|
|
FAADI wrote:
What should I do
Detect what exactly is going wrong: Does it receive WM_CLOSE, is there a return value designating failure, are your splitter classes handling shutdown OK?
Please post all relevant error messages.
My opinions may have changed, but not the fact that I am right.
|
|
|
|
|
Hi
I've made a CStringArray m_array.
It contains about 20text items and 1 text item who is really a integer.
m_array[0] = "TEXT";
m_array[1]="123";
Any easy way to detect when we are dealing with a whole number field?
Greetings
Jens
|
|
|
|
|
for(int i = 0; i < m_array.size()-1; i++)<br />
{<br />
if(m_array[i] == "123")<br />
{<br />
[...do this...]<br />
}<br />
}
thats one way.
*.*
cin >> knowledge;
|
|
|
|
|
No sorry. It is a number, but not always "123".
YOu can't know it in advance.
(sorry if i made question not clear enough)
|
|
|
|
|
<br />
<br />
for(int n=0;n!=m_array.GetSize();n++){<br />
if(m_array[n].GetLength()){<br />
if(isdigit(m_array[n].GetAt(0)))<br />
MessageBox(m_array[n]+" wow! is a number");<br />
}<br />
}<br />
|
|
|
|
|
Thanks alot wb
I did this trick by your help :>
<br />
for (i=0; i<TextArray[2].GetLength(); i++ )<br />
{<br />
if ( !(isdigit(TextArray[2].GetAt(i))) )<br />
{<br />
bOk = false;<br />
}<br />
}<br />
|
|
|
|
|
That'll work, assuming you don't have any instances of something like "1ABC" or "ABC1" in the array.
|
|
|
|
|
try :
<br />
if (atoi (m_array[0])==0 && m_array[0]!="0")<br />
else<br />
You can alos go through each and every one of the character in the string and use the IsDigit function
Shay
|
|
|
|
|
Hi,
Is there any sample code in VC++ to zoom the image display.
I use Bitblt() function to display the image in a view.
Regards
Neha
|
|
|
|
|
|
i am trying to develop an application which prints the web page even it spans horizontally/vertically multiple pages.
i am converting the html document to image and printing the same.
since i am capturing the screen and printing the image ,my css style properties specific to printing are lost.
How do i tell the browser control to read the print media specific information so that when it loads the page it renders the print media specific info onto the screen. is there any exposed method in webbrowser control or what interface should i use to achieve the functionality.
Please suggest me ..
gvs
|
|
|
|
|
Hallo,
i´ve software which supports different languages (german, english, frensh). The software is compiled on a german system and needs a statically linked MFC. So the problem is that Error Messages which come from the MFC such as by CException::ReportError() are already in german.
Is there a way to compile the software with the english version of MFC or to make the language of this messages dependent on system language?
Thanks,
Andy
|
|
|
|
|
Hi Big A!
Still have to fight with my inherited burden?
Two possibilities:
1. Compile the whole stuff on your english dev-station (which is always better I think)
2. uncheck the statically linked MFC stuff in the linker-options and redesign the installscripts...
hope this helps a little...
greetings from a strange world,
Olli!
Olli
"Ooooooh, they have the internet on computers now!" Homer Simpson
+ = NULL :=>
|
|
|
|
|
Hi Olli!
Thanks for your answer.
I have already compiled the hole stuff on my english system, but the messages are still in german.
This is very strange.
regards,
Andy
|
|
|
|
|
Hello
i need some tutorial or ebook about the API functions with the VC,
i got a very helpful tool called API guide but it's for the VB, and i need something like this for the VC....
Thanks in advance
|
|
|
|
|
|
thanks, i appreciate your effort, but i meant something for free
|
|
|
|
|
I got my copy of the book for $5 on ebay a while ago
If you want something free, from the visual studio IDE on any given CPP file type :: and a list of available API for whatever class you're using will pop up.
|
|
|
|
|
I got this API reference [^] which I use it a lot, because it is very convenient.
// Afterall, I realized that even my comment lines have bugs
When one cannot invent, one must at least improve (in bed).-My latest fortune cookie
|
|
|
|
|
How do I create a folder in Outlook Express by code through modifying the "folders.dbx" file? Simple MAPI doesn't allow such operation. The only possible way I can think of is through its dbx file but I can't find any information which discusses so. The only information and codes available is how to read values from it (like folder info, or message info).
I really am stuck in here.. Kindly help.
Thanks..
|
|
|
|
|
Use IMAPIFolder::CreateFolder() .
|
|
|
|
|
hi all i am stuck in the slider control.
the situation is some what like this. my application lets call it A is using to capture the behaviour of another application called B. the Hook iam using is WndProc Hook and GetMessage Hook, my current slider code (which is not working) is in WndProc handler function.
there are 3 questions
a) in my code of WM_NOTIFY would i receive the slider notifications or not
b) or i have to use a separate case that is like WM_HSCROLL
i have done this approach but in this case i amnot receving any thing. the value in wParam is always zero.
c) if you look at the MSDN documentation of Slider Notifications there u have a number of notification with TB_ prefix so i have to deal with WM_HSCROLL or these TB_ sor of things
i am in urgent need of ur comments
thanx in advance for ur time
regards
Basim
|
|
|
|
|
HI all i am once again faced with a strange situation i guess the nature of my project is some what like this.
now the problem is that the application that would be tested by my software is a very rich UI application and the scenario is like this that every spin is placed ona dialog frame having the class #32770, for every soin there is a separate #32770 i have verified this from the handle.
the design time ID for the #32770 class is 202 but by using GetWindowLong during run time i always get the ID to be 0.
has any one experienced such situation if so kindly help me
regards
Thanx in advance
BASIM;)
|
|
|
|