Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Is there a way to Force the creation of a folder on a user's sytem?

I have an application using oledbdataadapter's etc and they're all pointing to C:\DATA\DATABASE.MDB but custom folder properties uses at best TARGETDIR which allows the user to select the folder.

Other possible selections have no editable property that i can see.

I just want to make a folder called C:\Data and have the files stored there. I dunno why it's so hard to do that LOL

:D

 

Thanks anyone who has any feedback.

Posted

why not place the files in a folder in your application path/folder

that ways, when you create the "setup" project, you can specify that the installation create the defined folder. this would be the easiest method.

 

ie. c::\programfiles\yourApp\Data\

Posted

RE

 

I thought of that and figured the dataset and dataadapter Connection String would be invalid. I may be wrong but i think the default connection strings used in dataadapters do not support variables such as AppPath (when using the wizard)

That would mean rebuilding my datagrid columstyles programatically and id really rather not do that.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...