|
Db2 is running on as400. We want to have a copy of the data on a windows server with ms sql server.
a. Is there an odbc driver for db2 so we can query db2 from within ms sql server?
b. More in general: how can we copy data from db2 to ms sql server and maybe automate this?
c. what else do we need to know or is there some guide available online.
|
|
|
|
|
There are a few ODBC drivers available for DB2. Google it up! As for copy data between DB2 and SQL Server. Is like a replication system or a one time only process? Do you want to transfer bulk volumes of data or small amounts of it?
I dont know much about the performance aspects of it but if you had ODBC drivers for DB2, couldn't you just query the data from DB2 and insert it into SQL Server and vice versa?
|
|
|
|
|
how can we convert g.DrawImage(image,rect,pixenUnit)
to bitmap Image
|
|
|
|
|
Bitmap bmpMyImage = new Bitmap(image);
- - - --[ i love it when a plan comes together ]-- - - -
|
|
|
|
|
then whether it do tht changes what i have done wen using with drawimage
|
|
|
|
|
s4_sabahatf wrote: then whether it do tht changes what i have done wen using with drawimage
Have another attempt at constructing a readable sentence.
---
b { font-weight: normal; }
|
|
|
|
|
In a smart client application such as TaskVision
http://www.windowsforms.net/TaskVision/[^]
how does one implement single login?
In the current implementation, the application allows any number of logins using the same username and password. Could you please suggest how it can be modified to prevent login if there is a user already logged in with the same username and password? Or better still, to limit the number of simultaneous logins to a predefined number?
Keeping a login count in the database could be a solution, but is there a reliable way to know when a user stops using the program?
Can the constraint be defined in the stored procedure or in the web service(AuthService)?
Thanks.
|
|
|
|
|
i think u can use app.config file to add tag which hold the value of maximum user with same userID and password and if ur storing logged user info in DB then u can
check the user limit at the time of starting ur application.
rahul
|
|
|
|
|
I have two forms f1 and f2.
I have two buttons on f1, from button1 i am invoking f2 using the object of f2 and from button2 i am showing a simple message box.
My problem is, when i open f2 by cliking button1 and click on button2 to show message, when the message box is active i am unable to select f2, its understandable why f1 is not getting selected (message box is modal window), but why f2 is also not selectable?
I used another method to invoke f2, using threading concept, created new thread and invoked f2 in new thread in button1 click event. Now, i am able to select f2 even when message box is active. But when f1 is closed f2 should also get disposed?
Any ideas?
Thanks
Kumar
|
|
|
|
|
I think you should create your own messagebox window (new form) and open that. I cannot think of another approach...
- - - --[ i love it when a plan comes together ]-- - - -
|
|
|
|
|
The solution which i am working on is a huge one, where in i am not allowed to create any new forms of my own. Is there any other way?
Thanks
kumar
|
|
|
|
|
Hi...
In my application , i am creating a project which gives me a dll file i am using that dll in other project. I had added dependency for my application properly. From my windows application project i am starting some threads which are there in dll file. But when i exit my application...only my windows are getting closed(Forms) but my application is running in PC.
Why my application i still running although i am exiting the application...? Is i something with dll...?
Thanks in adavance,
Vinay
|
|
|
|
|
Are u using multi threading or something??
- - - --[ i love it when a plan comes together ]-- - - -
|
|
|
|
|
Hello
please test below code :
<br />
Application.ExitThread();<br />
May be it's usefull !
Regards.
|
|
|
|
|
I am creating application for controlling 8-channel Lightshow through LPT for a small club.
I want lightshow to work by sound input from soundcard. I don't know how can I create a function which would return current output power on the requested frequency(low,mid,high...).
I tried to do this with DirectX.DirectSound, but it seems to me too complicated.
So if anyone have a suggestion, i would be very grateful.;)
Thank you,
Miha
|
|
|
|
|
Hi
I have a DataGridView (C# 2005) which filled from dataset.
Now i want to save the row which user added to last of datagridview.
One of cells type is CheckBox.
When i'm trying to get it's value i see nothing :
<br />
dataRow[4] = dGridView.Rows[e.RowIndex].Cells[4].Value.toString();<br />
I want to see "True" or "False" but i see : "" !?
How can i get the value ?
Thanks for your help.
|
|
|
|
|
Ok
I got my answer myself !
this is the code :
<br />
DataGridViewRow dgRow = dGridView.Rows[e.RowIndex];<br />
dRow[4] = (dgRow.Cells[4].Value.ToString() != "" ? true : false);<br />
Tanx 4 me:->
|
|
|
|
|
Hi, Respected Programmers
Kindly tell me correct syntax/method about:
I have one textbox in my form which is belong some string value like
textBox1.Text = "ABCD";
and I need to transfer it to crystal report in "Text1"
and I am trying with this syntax:
ReportObjectReport.SetParameterValue(1, textBox1.text);
this is not working. and error message is arising "Invalid index"
Kindly tell me correct syntax of said.
Thank you in Advance
|
|
|
|
|
Is the Parameter collection not zero based?
For example:
ReportObjectReport.SetParameterValue(0, textBox1.text);
|
|
|
|
|
Hi, I would like to learn how to enlarge a window horizzontally to let view hiden objects.
I hope to receive some useful answer, thank you all in advance.
Lula
|
|
|
|
|
Set the Height property.
Christian Graus - C++ MVP
|
|
|
|
|
Hi,
the question is that:
I vould like to enlarge horizzontally, not vertically, a window
I red this article: http://www.codeproject.com/csharp/shrinkarea.asp where they show how to enlarge vertically a window, but I need an similar example to enlarge horizzontally.. now I do some tests but if somebody could help me to do that..i'll thank very much
-- modified at 2:18 Wednesday 22nd November, 2006
|
|
|
|
|
Say what?
Speak geek please!
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
Yes!
There should be one day per year, where everybody is posting in his native language!
|
|
|
|
|
Yes! We shall call it, "no answer to your question day".
- S
50 cups of coffee and you know it's on!
|
|
|
|