 |
|
|
 |
|
 |
I have an app I built in VB.NET on a 32 bit PC. After the app launches, it reads a small text file which is in same folder as the exe. In the text file is the path and connection string for the mdb. The mdb happens (in this instance) to be in the same folder as the exe. At any rate this whole thing works wonderfully on an XP or Vista PC and I install it in a folder off of the Program Files directory. It installed fine on a 64 bit Windows 7 PC and placed itself off of the Program Files (x86) folder. The program launches fine, but when it goes to open the database it fails. I've given 'everyone' rights to the app folder (called ClinicMeds). I've altered the path a billion ways, but I can't get the app to open the access database. Here's my connection string in the text file:
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files (x86)\ClinicMeds\ClinicMeds.mdb
Anyone have any clues on what I'm missing? I think it must be a permission problem, but for the life of me I can't figure out what. I've tried running it in compatabilty mode for XP SP2 and I've tried running as administrator - all without success.
|
|
|
|
 |
|
 |
I've found the solution: In the Visual Studio Build Configuration Manager, set the Release Platform to x86 and then rebuild. My original provider line in the text file was correct: "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files (x86)\ClinicMeds\ClinicMeds.MDB" My app was then able to open the mdb file on a 64 bit Windows 7 Home Premium PC. The only problem I'm having now is every time I launch, Windows asks if I should Trust the app. I don't see how to turn this off just for this exe.
|
|
|
|
 |
|
 |
Hi.
There is a folder in my C drive ( Windows Drive ) that there is a DLL file in it (OverIcon.DLL) ?
What is it ?
Can I delete it ?
Thanks
|
|
|
|
 |
|
 |
are you using a Sony VAIO?
google the file name!
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
|
|
|
|
 |
|
 |
Yeah, I have Sony Vaio
|
|
|
|
 |
|
 |
Hi,
I want to display 2 lines on the list box i am using in my application.
Some sample code for accessing the listbox control and setting the test to be displayed.
CWindow m_listWindow;
m_listWindow = GetDlgItem(IDC_LIST_FLIGHT);
char *pwszTitleDesc = new char[256];
strcpy(pwszTitleDesc, "parminder"
strncat(pwszTitleDesc, "\r\n", strlen("\r\n")));
strncat(pwszTitleDesc, "singh", strlen("singh"));
nIndex = m_listWindow.SendMessage(LB_ADDSTRING, (WPARAM)0, (LPARAM)pwszTitleDesc);
Everything is fine except that, instead "\r\n" appears as square boxes on the listbox.
Regards
Parminder
dhesi
|
|
|
|
 |
|
 |
Why do you want to put a '\r\n' there ?
|
|
|
|
 |
|
 |
Thanks in advance.
Can we install Windows CE on Normal PC , if we can then is any trial version or virtual test drive or something is available for windows CE
Best Regards,
SOFTDEV
If you have knowledge, let others light their candles at it
|
|
|
|
 |
|
 |
You may find the answer here[^].
|
|
|
|
 |
|
 |
thanks for the link but it tells only about windows CE nothing related to my Question.
Best Regards,
SOFTDEV
If you have knowledge, let others light their candles at it
|
|
|
|
 |
|
 |
S0FTDEV wrote: thanks for the link but it tells only about windows CE
Sorry, but I thought that was your question.
|
|
|
|
 |
|
 |
S0FTDEV wrote: Can we install Windows CE on Normal PC
Yes you can install Windows CE on a standard PC. Here is a list of Supported Drivers[^]. You should check that the motherboard hardware such as NIC card and USB chip are supported.
S0FTDEV wrote: is any trial version or virtual test drive or something is available for windows CE
Yes. You can grab a copy from the Windows Embedded Download Center[^] but I believe you will need a Windows Live ID[^] to download.
The only downside is that you need to reinstall the embedded OS every 6 months. But it only takes a few minutes to install CE.
Btw, this was not the correct forum to ask this question. We have a Mobile Development forum[^] which may have been a better choice.
Best Wishes,
-David Delaune
|
|
|
|
 |
|
 |
Thanks a lot for the post , it really helped me a lot
Best Regards,
Softdev
Best Regards,
SOFTDEV
If you have knowledge, let others light their candles at it
|
|
|
|
 |
|
 |
I can not install vs.net2003 on windows7 why???
Thanks.
|
|
|
|
 |
|
 |
Hi,
Visual Studio 2003 is not supported on Windows 7. You can probably get it installed and mostly working but many features may prove difficult to configure for Windows 7. If you are a C++ developer you can probably get everything you require working correctly easily. Other developers may need to take some extra steps. Here are some of the steps to get VS2003 working on Windows 7:
Visual Studio .NET 2003 on Windows Vista Issue List[^]
The easiest way to solve these Windows 7 incompatibility issues is to download and install Windows XP Mode[^]
Best Wishes,
-David Delaune
|
|
|
|
 |
|
 |
Hi
You could install on WIndows XP Mode, but I have problems with I put an ropture point on the code.
I believe the better is installed Visual Studio 2008 and if you need, SQL Server 2008 with Visual Studio Service Pack 1.
|
|
|
|
 |
|
 |
vs2005 is the best choose.
of course you can install vs2005 and vs2008 in your computer that is my classmater choose.
|
|
|
|
 |
|
 |
Has anyone had the same experience? Double clicking on a folder in the file view always opens a new instance of explorer. The folder options settings have no effect.
--edit2
This doesn't work. Fiddling with the other options there doesn't make any difference either.
1.) Open Explorer and choose the Organize drop down menu.
2.) Choose Folder and Search Options from the menu.
3.) Change the radio button at the top to: Open each folder in the same window.
--
The suggestions here make no difference:
http://forums.techarena.in/windows-software/1097621.htm[^]
- regsvr32 /i shell32.dll
- HKCR\Directory\shell (and Folder\shell)
It is the same for all users, creating a new user makes no difference.
Problem started after a few applications were installed, so not sure which is causing it
- Office 2007
- Visual Studio 2008
- AVG
- WinMerge
Disabling (using shellexview[^]) all third party & MS Office shell extensions has no effect.
Any ideas? This is driving me nuts..
-- edit: OS is Windows 7 RTM
|
|
|
|
 |
|
 |
I can reproduce the issue you are describing. Its also easy to fix.
1.) Open Explorer and choose the Organize drop down menu.
2.) Choose Folder and Search Options from the menu.
3.) Change the radio button at the top to: Open each folder in the same window.
It takes a few months to get use to the Windows 7 design changes. But I am loving Windows 7.
Best Wishes,
-David Delaune
|
|
|
|
 |
|
 |
Already did that (tried fiddling with other settings in the folder options too). No joy... :(
|
|
|
|
 |
|
 |
Interesting... try this:
Click on your start menu and navigate to the Windows Explorer shortcut and right click then execute it as Administrator. Perform the same actions described in the previous post. Are you on a domain workstation and subject to group policy?
Best Wishes,
-David Delaune
|
|
|
|
 |
|
 |
Thanks for the replies, but I'm afraid that didn't work either. I tried running the entire shell as administrator (killing explorer.exe and restarting as admin), with no effect.
No, I'm not in domain, no group policy.
I think it must be some third party application doing it, but removing everything or reinstalling one by one on a clean OS is not an option...
|
|
|
|
 |
|
 |
Recently i installed Windows 7, my question is, Can Install Visual Studio 2005 and not have any problem???, I have one disc never use when install VS 2005, that disc say is only 64 bits SO.
Thanks.
|
|
|
|
 |
|
 |
I am currently running VS6, VS2005 and VS2008 simultaneously on Windows 7 under WoW64[^]. To have VS2005 working correctly you will need to install:
Visual Studio 2005 Service Pack 1 Update for Windows Vista[^]
I also recommend running the following executables with elevated Administrator privileges.
C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\devenv.exe
C:\Program Files (x86)\Common Files\Microsoft shared\MSEnv\VSLauncher.exe
Best Wishes,
-David Delaune
|
|
|
|
 |