jasonmc86
07-27 06:45 AM
I've done alot of debugging to try figure the problem... (.show()) isn't a method inside the openFileDialog class...?
-The main thing i'm found when debugging is that when the openFileDialog is used to do anything in my program even if i don't use any information from it it doesnt write my TEST data to a xml file or any other methods i use to write an xml file... eg.
When i run these lines in conjunction to the rest of my code
//DialogResult result = DialogAddTo.ShowDialog();
String fileNameToAdd = "E:\\blah";
//String fileNameToAdd = DialogAddTo.FileName;
Commenting out the openFileDialog and just storing a random file name then the rest of my program (eg. writing the xml file and info wanted) works however when i get the file name from the openFileDialog it doesn't let me write any Xml files even ones i have working already.
If anyone has had the same error or has knowledge please reply cheers
eG this code ive tested and it does the job but i want the user to be able to select a file using a dialogBox... NOTE green is commented
switch (tabControlSelector.TabPages[tabControlSelector.SelectedIndex].Text)
{
case "Images":
DialogAddTo.Title = "Add Image to Dir to view";
DialogAddTo.InitialDirectory = "E:\\Images\\";
DialogAddTo.Filter = "JPG| *.jpg";
DialogAddTo.Multiselect = false;
DialogAddTo.ShowDialog();
//DialogResult result = DialogAddTo.ShowDialog();
String fileNameToAdd = "E:\\blah";
//String fileNameToAdd = DialogAddTo.FileName;
DialogAddTo.Dispose();
if (true)
{
viwDataDS.imagesTable.AddimagesTableRow(fileNameTo Add.Substring(fileNameToAdd.LastIndexOf("\\") + 1).ToString(),
fileNameToAdd.ToString(),
DateTime.Now);
viwDataDS.imagesTable.WriteXml("test.xml", XmlWriteMode.WriteSchema);
}
else
{
MessageBox.Show("That Image Already Exists");
}
break;
case "Videos":
break;
-The main thing i'm found when debugging is that when the openFileDialog is used to do anything in my program even if i don't use any information from it it doesnt write my TEST data to a xml file or any other methods i use to write an xml file... eg.
When i run these lines in conjunction to the rest of my code
//DialogResult result = DialogAddTo.ShowDialog();
String fileNameToAdd = "E:\\blah";
//String fileNameToAdd = DialogAddTo.FileName;
Commenting out the openFileDialog and just storing a random file name then the rest of my program (eg. writing the xml file and info wanted) works however when i get the file name from the openFileDialog it doesn't let me write any Xml files even ones i have working already.
If anyone has had the same error or has knowledge please reply cheers
eG this code ive tested and it does the job but i want the user to be able to select a file using a dialogBox... NOTE green is commented
switch (tabControlSelector.TabPages[tabControlSelector.SelectedIndex].Text)
{
case "Images":
DialogAddTo.Title = "Add Image to Dir to view";
DialogAddTo.InitialDirectory = "E:\\Images\\";
DialogAddTo.Filter = "JPG| *.jpg";
DialogAddTo.Multiselect = false;
DialogAddTo.ShowDialog();
//DialogResult result = DialogAddTo.ShowDialog();
String fileNameToAdd = "E:\\blah";
//String fileNameToAdd = DialogAddTo.FileName;
DialogAddTo.Dispose();
if (true)
{
viwDataDS.imagesTable.AddimagesTableRow(fileNameTo Add.Substring(fileNameToAdd.LastIndexOf("\\") + 1).ToString(),
fileNameToAdd.ToString(),
DateTime.Now);
viwDataDS.imagesTable.WriteXml("test.xml", XmlWriteMode.WriteSchema);
}
else
{
MessageBox.Show("That Image Already Exists");
}
break;
case "Videos":
break;
shana04
05-16 01:38 PM
For my spouse,
We have applied for I 485 after our visit to India.
1. First I 94 was taken at the airport and got the new one while we came back and one of the requirement is the copy of I 94
How and where can I get a copy (I never made a copy of that).
Note: Spouse passport has stamping but the requirement is copy of I 94
any help or suggestoins where can we get a copy. We have applied for states Id's in two different states where they made copies of I 94 but at that time I never though of making copies of it.
Any suggestions to get copy I 94? please share your exp.
Thanks in advance
We have applied for I 485 after our visit to India.
1. First I 94 was taken at the airport and got the new one while we came back and one of the requirement is the copy of I 94
How and where can I get a copy (I never made a copy of that).
Note: Spouse passport has stamping but the requirement is copy of I 94
any help or suggestoins where can we get a copy. We have applied for states Id's in two different states where they made copies of I 94 but at that time I never though of making copies of it.
Any suggestions to get copy I 94? please share your exp.
Thanks in advance
helpfriends
04-17 09:07 AM
They will have to apply at the consulate wherever they came from and undergo an interview to get the visa put in their passport. Then they can enter with that visa in place. If their entry is on record which it could well be a flag may be raised as to the reason for their recent entry on the visa waiver program.
Are interviews instant or do you typically have to wait for a date? A petition approval is not an approval to work, correct? Sorry, I am just learning the process. Is there a link on here that shows how it should be done?
BTW, this person was here on an L1 for another company up until December 07 in US, went home for vacation for a month, sent in paperwork for L1A under new company since current visa lapsed, came back early to US on VW(green form) and then waited here for his new L1 petition to approve - while working. He thinks that this is ok. :eek:
Thanks again!
Are interviews instant or do you typically have to wait for a date? A petition approval is not an approval to work, correct? Sorry, I am just learning the process. Is there a link on here that shows how it should be done?
BTW, this person was here on an L1 for another company up until December 07 in US, went home for vacation for a month, sent in paperwork for L1A under new company since current visa lapsed, came back early to US on VW(green form) and then waited here for his new L1 petition to approve - while working. He thinks that this is ok. :eek:
Thanks again!
rajeshalex
03-14 09:15 PM
Hi All,
We received this letter and my wife is currently in India. She is comng back only after 2 months. Secondly this letter says it has been Xfrd to MO. We live in virginia. I am not sure how it went there.
Also let me know what all documents you guys carried.
Thank you
rajesh
We received this letter and my wife is currently in India. She is comng back only after 2 months. Secondly this letter says it has been Xfrd to MO. We live in virginia. I am not sure how it went there.
Also let me know what all documents you guys carried.
Thank you
rajesh
more...
Anders �stberg
March 6th, 2004, 09:03 AM
Didnt see the edits. The first image you took is the best
I tend to agree, the first B&W one is the best in terms of composition. The new ones are not as "calm" somehow. I thought getting the railing to go all the way to the top corner would be better, but actually I think it is distracting. Interesting, maybe I learned something here. :p
I tend to agree, the first B&W one is the best in terms of composition. The new ones are not as "calm" somehow. I thought getting the railing to go all the way to the top corner would be better, but actually I think it is distracting. Interesting, maybe I learned something here. :p