473,413 Members | 1,764 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

commondialogbox

I have a code
objImpRep.PublishXML "c:\temp\abc.xml" (where objImpRep is an object and publishxml is used to generate xml in the given path)

i have hardcoded the path and want a saveas dialogbox here. how do i include here. what is commondialogbox and how do i include that here.
May 17 '07 #1
2 1098
Killer42
8,435 Expert 8TB
I have a code
objImpRep.PublishXML "c:\temp\abc.xml" (where objImpRep is an object and publishxml is used to generate xml in the given path)

i have hardcoded the path and want a saveas dialogbox here. how do i include here. what is commondialogbox and how do i include that here.
The question is a little confusing. Are you using Visual Basic? What version?

Are you saying that you want to use a "Save As..." dialogue instead of using a hard-coded path? If so, check out the Microsoft Common Dialog Control". You just add this to your project, and follow the instructions in the documentation.
May 17 '07 #2
ya now i have added Microsoft component needed for the same.

actually the code is written in a module and when i give

dim savefile as CommonDialog
objImpRep.PublishXML savefile.Showsave

it is giviing an error......
May 17 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: John Lauwers | last post by:
Hello, Is there a way to move the commondialog to a specific position ? Greets John
2
by: Gurk | last post by:
hallow al in my program you can save and open files, he save file is OK if the user clickes save, it saves the titel of the project he created(and lots more in the future). the titel is at...
2
by: Tom Lee | last post by:
hello. i use commonDialogBox in visual basic 6.0 for open file but the contol has short size file browsing box and i want to increase the size or add horizental scroll bar How can i do this? ...
1
by: BlackMustard | last post by:
how do i go about to open a folder (i.e. not a file) with the common dialog open? more specifically, since no one has answered yet: i want to use a CommonDialogBox to get a folder path to a...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.