Hello Everyone ,
im supposed to create a Customer with labels (name,add,Telnr ...)and textboxes(thoma s ,karsplatz,2342 3423423) in a windows form. i store all these data in a class (get/set methods)
However the problem arises when i got to export this data into a docx format(i.e when i click on the button "import" the data from the windows form is exported to msword format) which has a table containing...
User Profile
Collapse
-
export .net class to docx
-
Hello,
Firstly the build worked fine in both debug and release modus. Then i installed the setup.exe file from the Release in the remote maschine. However there is no Visual Studio on the remote maschine and its a Windows form application.
probably this info might help -
Strange Error : Open File Dialog
Hello Gurus,
i implemented the OpenFileDialog in my Windows Form Applications and it worked perfectly fine.However when it was run on a remote desktop i got the below error .
rt now im not sure where the problem is . is it something to do with any dll file which i need to include. if yes could u suggest me which dll files are involved in the open file dialog?
thank u in advance
...Last edited by Curtis Rutland; Sep 3 '08, 03:06 PM. Reason: Added Code Tags - Please use the # button -
extract namespace from an xml file
Hello ,
is there any possibility where i can extract the namespace (http://schemas.microso ft.com/project)from the xml file.
ie for eg
<?xml version="1.0" ?>
- <Project xmlns="http://schemas.microso ft.com/project">
<Name>test.xm l</Name>
<Title>MS-Project2000- Kalender</Title>
<CreationDate>1 998-09-10T13:43:00</CreationDate>... -
-
solved it !!
TimeSpan span = tm1 - tm;
for (int j = 0; j <span.Days+1; j++)
{
//save in the db
tm=tm.Add(new TimeSpan(24, 00, 00));
}Leave a comment:
-
storing the Timespan as single days in the db : visual c#
Hello everyone.
i have 2 dates given
FromDate :1998-04-13T00:00:00
ToDate :1998-04-18T23:59:00
i would like to store these two days as single dates in the table in my db
could anyone suggest me how to store single dates in the db?
ie
FromDate :1998-04-13T00:00:00
ToDate :1998-04-13T23:59:00
FromDate :1998-04-14T00:00:00
ToDate :1998-04-14T23:59:00... -
xmlDocument.SelectNodes : cannot extract data from the XML File
Hello everyone
i am trying to extract the nodes from the File with the following code. However i am not succesfull in extracting the codes from the xpath given below...i do not know wht is my mistake in the xpath as i always get temp =0
would be gratefull for any help
try
{
XmlDocument xDoc = new XmlDocument();
xDoc.Load("Test .xml");... -
thank u ..i solved it with the help of boolean values.. thanx a lotLeave a comment:
-
Windows Form Application : Save the Contents then close
Hello,
i make some changes in my windows form applications and commit to save it in my database. However if the commit has not yet taken place.i would like to have an alert box with states if the user wants to quit without saving "yes" or "no".
however i do not know how to implement this. espiacially to check if the commit has taken place or no?
would be gratefull for any ... -
Hello,
i solved the problem with the namespaces..tha nx a lot guys for ur help
regards
soniaLeave a comment:
-
sorry..thought i solved the problem but it isnt solved yet.. :(Leave a comment:
-
Hello,
thank you..i succeeded so far..now i am able to import the source files from the folder .
However this folder again contains sub folders and these subfolders contain image (.bmp) files and i do not know how to gain access to these source files from the sub folders.
i tried it out with
private <subfolder>.<so urcefile> but unfortunately it doesnt work that way.
would...Leave a comment:
-
hello,
i have also tried to put the source files from the 2nd project(which are having a different namespace) in the first one but as a sub folder .
but the problem is my main project cannot recognise the source files from this subfolder since they are having a different namespace..
is it possible in visual studio to work with 2 different namespaces in a single project?Leave a comment:
-
ok thanx a lot for ur reply..actually i earlier had 2 separate projects in a solution and both projects were depending on each other so i was getting a circular dependency.in order to prevent this circular dependendy..i was trying to combine both the projects in one as in eclipse.. but i guess since i cannot combine both the projects in one i need to go back to my earlier thinking thanx a lot for your reply...Leave a comment:
-
sorry i posted my question at the wrong place.. i was asking this question based on visual studio c#Leave a comment:
-
no i didnt mean to create multiple projects in a Solution but to create multiple child projects inside a single project.Leave a comment:
-
create multple projects inside a single project
Hello ,
I have two projects A and B
is it possible to import project B in project A?
if not is there any alternative ?
i tried to import project B as a subfolder. but since both the projects are in different namespaces project A doesnt recognise the namespace from Project B
and since each of the projects contain a lot of files it is time consuming to change the namespaces fin each of the files.
... -
Create multiple projects inside a single project
Hello ,
I have two projects A and B
is it possible to import project B in project A?
if not is there any alternative ?
i tried to import project B as a subfolder. but since both the projects are in different namespaces project A doesnt recognise the namespace from Project B
and since each of the projects contain a lot of files it is time consuming to change the namespaces fin each of the files.
...
No activity results to display
Show More
Leave a comment: