|
copy paste the error please.
No hurries, no worries.
|
|
|
|
|
i'm in my conpany,my app works on my computer because i have oracle 8 but the computer that is not mime has oracle 9 so it isn't workin there but i'll write when i sit the comp that have problem....
|
|
|
|
|
i wrote codes with using visual studio 2003 can this be problem..?
bigalı
|
|
|
|
|
How are you connecting to the Oracle Database? ODBC? Microsoft Oracle Data Provider? Oracle's Data Provider?
What version of Oracle client is installed on the machine?
Michael
CP Blog [^] Development Blog [^]
|
|
|
|
|
with System.Data.oracleClient
exeption says this provides oracle 8.'something' or lower
my problem is
Connecting to Oracle 9 using the Microsoft .NET Framework
help please
tnx
|
|
|
|
|
This article[^] has example code for connecting to Oracle 9.
I've only ever had problems in the past when the Oracle 9 client wasn't correctly installed on the machine or the TNS names had got screwed up.
Michael
CP Blog [^] Development Blog [^]
|
|
|
|
|
Oracle 8i Release 3 (8.1.7) Client or later must be installed for this provider to function.
i need to connect 9i
how cAN İ DO THİS WİTH VSTUDİO 2003
|
|
|
|
|
You seem to be missing the point. What version of the Oracle CLIENT is installed on your machine? It would appear that you don't have the proper Oracle Client installed on the machine to connect to the server.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
|
i think i had the same problem a time ago
you need to install Oracle Data Provider ( i think you can download 4 free)
and use the objects in the Oracle.DataAccess namespace ( firs add the dll to the project )
|
|
|
|
|
how can i find it..?
also i found something in the oracle's web...
it s writing thet 'you can connect to 9i with this for .NET ftamework' i try but i couldn t do...
aqny other ideas..?
tnx
|
|
|
|
|
I am wondering how people manage the transfer of design in Rational Rose to Visual Studio and C# (and vice versa). I know the Rational has XDE which allows round trip development - this is not an option for me. I am using Rose Pro ver 8.3.
I want to be able create code in VS using C# and take the class diagram over to Rose. And also create a model in Rose and transfer that to VS as easily as possible.
I could retype all the information between the two but this seems a long winded way of doing it. Does anyone have suggestions on how to achieve this with greater ease?
Thanks,
Liam
|
|
|
|
|
Hi
I want to update a .def file from different window forms .I want to concatenate some text in the .def file and dont want to lose already available text in the .def file. Is there a option to directly concatenate into a file or do I need to store all the information in a class and then write it.
Thanks and Regards
KR
|
|
|
|
|
When creating your StreamWriter, use a constructor[^] which takes a boolean 'append' parameter. Specify 'true' for this parameter.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
If you want to append this text to the very end of the file, then follow what Mike said. Otherwise, you'll have to read the file in, write the beginning of the file back out until you reach the point where you want to append your text, append your text, then continue writing out the rest of the .def file.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hello All,
I want to customize error messages returned by exceptions. For example I want to customize the following error
"Error [42000] [Microsoft] [Odbc SQL Server Driver] [SQL Server] could not find stored procedure"
I know I can restrict exception.message and throw a customized error, but how I will know whether the error is because of this..or something else...
Could anyone please let me know how can I do that in C#...
Thanks
Looney
|
|
|
|
|
hi
you have to write two catch Block to handle ODBC and other type of exception..
try<br />
{<br />
}<br />
catch(OdbcException odbc_ex)<br />
{<br />
for (int i=0; i < myException.Errors.Count; i++)<br />
{<br />
if (odbc_ex.Errors[i].NativeError == 42000)<br />
Console.WriteLine("Procedure not found...");<br />
else<br />
Console.WriteLine(odbc_ex.Errors[i].Message);<br />
}<br />
}<br />
catch(Exception ex)<br />
{<br />
}
Mihir...
|
|
|
|
|
Thanks a lot. I will follow what you have said.
|
|
|
|
|
Hi,
how do i export and import data to a database, thumbdrive, zipdrive etc.. (but first i got to create a database and i dono how to do dat)..
Thz a lot!
|
|
|
|
|
hello
plz tell me how to pass a specific index of the array to a function and how to recieve that what will be function call code and function declaration code.
like if i want to pass array [1] element. so wht will be the passing and receiving code.
thanks
|
|
|
|
|
void FunctionCaller()
{
string [] ArrStr = new string[]{"str1","str2","str3"};
int [] ArrInt = new int[]{1,2,3,4,5};
MyFunction(ArrStr[1]);
MyFunction(ArrInt[2]);
}
void MyFunction(object ArrElement)
{
Console.WriteLine(ArrElement);
}
may be helpful to you
Mihir...
|
|
|
|
|
Well, how would you: check if a string doesn't starts with a caracter.
I've gladly take tips on good string searching/manipulating classes. I'm wellknown of StringBuilder...
_____________________________
...and justice for all
APe
|
|
|
|
|
U means "string doesn't starts with a character" ?
If so,
if(!strName.StartsWith(ch))
Ammu
|
|
|
|
|
But I like to check if it starts with a or b or c or.....
Don't really like to do this:
if (str.StartsWith("a")...)....
if (str.StartsWith("b")...)....
if (str.StartsWith("c")...)....
if (str.StartsWith("d")...)....
if (str.StartsWith("e")...)....
_____________________________
...and justice for all
APe
|
|
|
|
|
private void txtFirstName_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
if(txtbox1.Text.Length == 0)
{
if (!Char.IsLetter(e.KeyChar))
e.Handled=true;
}
}
The above code in will check for each key press and will only allow characters...You can modify the code to ur advantage...
Looney
|
|
|
|