|
Hi, everyone!
Is there any way to use UNCs inside connection strings while using a standalone development PC?
I'm creating a database app using VB2005 and an Access MDB file. I'm currently using DRIVE:\Directory\File.mdb in my ConnectionString, but I'd like to use the \\Server\file.mdb option or even the PC's IP address (is this possible as well?).
In my Windows XP system, My Network Places won't show the shared files in my local PC unless I network it with another PC. Before, in older systems like Windows 98 and Windows 2000, even when the PC was not connected to another PC, the shared files could still be viewed in My Network Places and Network Neighborhood. Does anyone here know how to display the local shared files in Windows XP's My Network Places without having to have the PC connected to a network?
|
|
|
|
|
NekoGato wrote: Is there any way to use UNCs inside connection strings while using a standalone development PC?
It depends on the database you are connecting to. Some may allow it, others won't.
Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...
"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."
My website
|
|
|
|
|
is there a way to exceed the Richtextbox MaxLength of "2147483647"?,
may be there is a way to make it unlimited pls help.
|
|
|
|
|
You need to display more that 2 gigabytes of rich text at once!?! I think it sounds like you need to restructure other parts of your application rather than find ways around the very generous limitations in user interface controls.
Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...
"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."
My website
|
|
|
|
|
i agree with colin. but if you really want to do that... i think there's no way to extend the maxlength for richtextbox. instead make use of a label as what i know there's no specific maxlength for that.
|
|
|
|
|
hi All,
I m trying to connect crystal report to database(Access) but i have no idea plz give me code or any logic syntax.
thanks in advance.
Nikesh Yadav
CSS Infotech
Gurgaon,
Haryana(India).
|
|
|
|
|
hi,
use following code
Try<br />
Dim obj As report1 = New report1 'here report1 is Crystal Report<br />
Dim ds As New DataSet<br />
Dim da As OleDbDataAdapter<br />
Dim str As String<br />
str = "SELECT * from TableName"<br />
da = New OleDbDataAdapter(str, conn) 'here conn is connection object<br />
da.Fill(ds)<br />
<br />
<br />
obj.SetDataSource(ds.Tables(0))<br />
CrystalReportViewer1.ReportSource = obj<br />
Me.Show()<br />
Catch ex As Exception<br />
MsgBox(ex.Message, MsgBoxStyle.Information, "Report")<br />
End Try
hope this helps
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
i know this will works defintely. thanks for you help
but tell me one more thing you will write is code on which form i.e. on the form which contains crystal report viewer or on the crystalreport.cs Plz clear it.
|
|
|
|
|
hi,
code which i provide is for form which contain CrystalReportViewer.However you can write these code on any form(after some modification)
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
|
Hi! Everyone, I need help on loading myApp on startup, I made a Daily Time Record System. And I want to load/run this App after windows login password closes before the windows desktop display, I've already tried the registry keys in \CurrentVersion\Run but it's not what I want, also the startup folder doesn't work well.
Ex. After windows login, the screen goes black run my system... before loading any background apps...
thanks!!!
|
|
|
|
|
CurrentVersion\Run and startup folder is for windows explorer , windows explorer will start the programs in those locations after it is started by the system
You should write windows service
or , make your program as the Shell -> your program will replace the window explorer :
Key : "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
Name: "Shell"
Value : "Your program's path"
|
|
|
|
|
there's a shell key already explorer.exe, svchost.exe value, do I need to delete this key and create a new one or just add my app's path? or create another shell key?
|
|
|
|
|
by default ,"Shell"="explorer.exe"
replace "explorer.exe" with "your program"
the logon process will start your program as Shell instead windows explorer after use log on
you have to start "explorer.exe" manually in your code
however , i don't think it is a good idea
|
|
|
|
|
Why what's wrong with your suggestion? Why is it not a good idea? Got a better Idea?
|
|
|
|
|
Hi all,
I intend to use a framework for my .net project in future, But framework for .net is rarely to find. If you know any framework for .net, please show me.
Thanks
|
|
|
|
|
What do you want ? The word 'framework' means all sorts of things. What are you looking for ? An ORM ? There are plenty of those.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I mean like symfony, Zend in PHP. That framework has libs and structure and we can apply that framework into project
|
|
|
|
|
.Net is a Framework. there are lot of in built classes are there.
What do you want?
SSK.
|
|
|
|
|
Vri SSK wrote: .Net is a Framework. there are lot of in built classes are there.
What do you want?
He already answered that question: "I mean like symfony, Zend in PHP"
Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...
"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."
My website
|
|
|
|
|
The OP wasn't asking about .NET framework. He's interested in frameworks that he can have work with the .NET framework. Look at his reply
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
i wonder how can i get bits stream from mp3 data, everyone please help me..
how ican open the mp3 data
-- modified at 22:12 Friday 20th July, 2007
|
|
|
|
|
What do you want ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
please clearly explain what is your problem?
SSK.
|
|
|
|
|
i would like to open the mp3 data, i wanna see the structure inside the mp3. such as the binary bit and etc, because i wanna create the mp3 steganography wiht low bit encoding system.
please help me.
|
|
|
|