|
Any machine that the application runs on is going to have to have the Oracle 8i Client installed on them at a minimum. The Oracle provider in .NET can't work without it.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hey Dave,
Thanks man.
yeah..every machine have oracle 9i installed . my question is The Oracle Provider for .NET is not installed on every machine. should i install on every machine or if only on server will be fine.
b/c several ppl is going to use this application.its tedious job to install on every client machine . pls. reply me as soon as possible.
i am stuck here with the deployment .
if you have any idea how to deploy my application on server then let me know.
actually what i did is..i ve added setup project in my solution. and built it. and create .msi file.
when i am installing on the other machine and if it has ODP (oracle provider for net) installed on that its running perfectly. but it doesnt have that then its gives me error: "TNS couldnt resolve the service name"
and i am using System.Data.OracleClient and have referenced to my solution.
i m not using DataAccess.dll
i've not referenced to this dll.
i dont have any idea.
If u can reply me.that will be great.
Thanks a lot..
Hemaxi
|
|
|
|
|
hemrk wrote: The Oracle Provider for .NET is not installed on every machine.
It's part of the .NET Framework Base Class Library, so if the .NET Framework is installed, so is the Oracle Provider.
... Or are you talking about the ODBC .NET Data Provider[^]???
If your using this, then, yes, you have to install it on every machine that's going to run your app.
Dave Kreskowiak
Microsoft MVP - Visual Basic
-- modified at 12:45 Wednesday 12th July, 2006
|
|
|
|
|
Thanks..for the info.
let me look at the oracle provider..and will get back to u soon...
Thanks a lot
Hemaxi
|
|
|
|
|
have downloded Oracle Data Provider for .NET (ODP.NET) 10g release.
once again..i am not using it in my app. but it was installed on my computer. after i started to build application. and now on other machine if i am not installing this ODP.NET 10g then my application give error that "tns couldnot resolve the service name."
i dont have any idea why its happening..even i didnot add reference to ODP>NET (dataaccess.dll) .
Thanks
Hemaxi
|
|
|
|
|
You might want to try the list of things found here[^].
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Thanks for your help.
I resolved the issue..it was sily mistake..
Thanks anyways
Hemaxi
|
|
|
|
|
Greetings everyone!
Question! Is there a way to set up the installer of a VB.NET program that will you set a condition to evaluate that will give the user the choice of either creating a desktop shortcut or not?
Any help would be fantastic!
|
|
|
|
|
|
Unfortunatly no. When you create the shortcut via the file system editor, the shortcut you create does not have a place for checking the condition from one of the installation dialog boxes that I have seen unless I am overlooking something.
If all about are losing their head while you keeping yours, you must be the one holding the axe!
|
|
|
|
|
----------------------------------------
Visual Studio 2003 v7.1.3088
.NET Framework 1.1.4322 SP1
----------------------------------------
I have a large WinForms project.
I have a form where I added a checkbox chkIsEmployee.
Sporatically, I get errors:
'chkIsEmployee' is not a member of 'ClearView.SMS.frmStudentManagement'
However, all of the designer code appears to be intact:
...
[Line 133] Friend WithEvents chkIsEmployee As System.Windows.Forms.CheckBox
...
[Line 181] Me.chkIsEmployee = New System.Windows.Forms.CheckBox
...
[Line 346] Me.grpDemographics.Controls.Add(Me.chkIsEmployee)
...
'
'chkIsEmployee
'
[Line 371] Me.chkIsEmployee.Location = New System.Drawing.Point(222, 99)
[Line 372] Me.chkIsEmployee.Name = "chkIsEmployee"
[Line 373] Me.chkIsEmployee.Size = New System.Drawing.Size(92, 16)
[Line 374] Me.chkIsEmployee.TabIndex = 16
[Line 375] Me.chkIsEmployee.Text = "is employee"
...
Now, I open the form, and the checkbox control is visibly gone.
It is almost as though the compiler is ignoring line 133. All lines after 133 have the error - not 133.
I rebuild the app and sometimes, suddenly all is OK.
I have tried deleteing the checkbox and re-adding it. The problem keeps re-surfacing. It was doing this behavior on a different control before.
Later, I open the form, and the control is gone again, but all the declaritive code in the form is still there.
This happened to me before (in this project with a different form), and I had to create a new form, paste controls on, paste my code in, delete the old form and the behavior went away.
I tried that here, but the behavior keeps comming back.
Is anyone aware of a bug or a fix for this?
Thanks,
-Len Miller
"If I had eight hours to chop down a tree, I'd spend six sharpening my axe."
-Abraham Lincoln
|
|
|
|
|
Yep, it's a bug in the IDE. Nope, there is no permanant fix for it yet. You've already discovered the only work around I know of. SP1 for Visual Studio 2003 should be comming out sometime last month.
Oh! Have you installed SP1 for the .NET Framework 1.1?? If not, get it from here[^].
Visual Studio 2003 Service Pack 1[^]
Dave Kreskowiak
Microsoft MVP - Visual Basic
-- modified at 15:36 Tuesday 11th July, 2006
|
|
|
|
|
Hi,
I've been surfing the web for the following question, with no luck. Do you know of any solution regarding having a parent form (MDIparent) calling a DLL and the DLL will be known as child to MDIparent?
Looking forward hearing from you.
Kjartan Þór Guðmundsson
|
|
|
|
|
Your question doesn't make any sense. I .DLL cannot be a child of anything, except a process in a round-about way.
Is this .DLL supposed to be returning a Form? Without any details about your .DLL, there's really not much anyone can do to help you.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
is the DLL a separate user control with a form?
|
|
|
|
|
Sorry about the unaccurate question. The DLL is a form, I'm building a large project and have no intention to have in one project.
Kjartan
|
|
|
|
|
This form is it's own class library?
Then all you would have to do is create an instance of it, just like any other form:
Dim newForm As New MyDllForm
newForm.Parent = Me
newForm.Show()
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I get this errormessage.
An unhandled exception of type 'System.ArgumentException' occurred in system.windows.forms.dll
Additional information: Cannot add a top level control to a control.
Kjartan
|
|
|
|
|
instead of newForm.Parent = Me, which gives an error, you should have
newForm.MdiParent = Me, and then it works fine.
Kjartan
|
|
|
|
|
Whoops! My mistake!
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hello,
I have a filestream that I am able to read only once when my program launches. If I attempt to read the line a second time, I receive the message "The process cannot access the file 'C:\IMGfromDB.BMP' because it is being used by another process." at this line of code...
fs = New FileStream(savedIMGName, FileMode.OpenOrCreate, FileAccess.Write)
I've tried the following to release the processes...
fs.Close()<br />
fs.Dispose() and
File.Delete(savedIMGName)
Thanks in advance
-- modified at 14:11 Tuesday 11th July, 2006
|
|
|
|
|
|
Hi guys
I have stored a treenode text into a custom property then now i want to reselect the specified treenode whenever i start my application.
So plz guys help me out n tell me which code to use.
Thanks in advance.
MAP Tiger
Tiger Softwares
Software Designer and Developer
VB.NET, ASP.NET, VFP
|
|
|
|
|
Hi all,
I'm not much of a VB programer so I hope one of you guys or gals could help me with something. I am trying to create a macro to be used with word. The pupose is to search the selected text for a character sequence and edit it. If you know anything about chinese, this macro will convert numbered pinyin into toned pinyin.
it looks something like this
Sub number2tone()
With Selection.Find
.Text = "r1"
.Replacement.Text = "1r"
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.Text = "r2"
.Replacement.Text = "2r"
End With
Selection.Find.Execute Replace:=wdReplaceAll
...
With Selection.Find
.Text = "a4"
.Replacement.Text = ChrW(&HE0)
End With
Selection.Find.Execute Replace:=wdReplaceAll
End Sub
The problem I am having is that instead of searching only the selected text, sometimes it goes on to the end of the document and sometimes to the end of the line.
|
|
|
|
|
stored procedure concepts in vb.net
|
|
|
|