15,885,278 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by vijayr (Top 26 by date)
vijayr
17-May-11 9:08am
View
@Cimperiali: i am also facing the same issue with AccessViolationException and your suggestion is fine and it's working good.
Here My Question, Why it's throwing the error in OpenFileDialog ? because there is no connectivity between database and OpenFileDialog.
And also i found one more solution(but it's not good)
Here the code is
public class OpenDialogBox
{
public string _filter { get; set; }
public string _selectedFile { get; set; }
public System.Windows.Forms.DialogResult _dialog { get; set; }
public void OpenDig()
{
try
{
System.Threading.Thread th = new System.Threading.Thread(new System.Threading.ThreadStart(Folder));
th.IsBackground = true;
th.Start();
System.Threading.Thread.Sleep(1000);
if (th.IsAlive)
{
th.Abort();
}
}
catch (System.Threading.ThreadAbortException ex)
{
}
//Folder();
System.Windows.Forms.OpenFileDialog OF = new System.Windows.Forms.OpenFileDialog();
OF.Filter = _filter;
OF.AutoUpgradeEnabled = false;
OF.InitialDirectory = "C:\\";
_dialog = OF.ShowDialog();
_selectedFile = OF.FileName;
//System.Windows.Forms.MessageBox.Show(_selectedFile);
//System.Windows.Forms.MessageBox.Show(OF.FileName.ToString());
}
void Folder()
{
try
{
System.Windows.Forms.FolderBrowserDialog fd = new System.Windows.Forms.FolderBrowserDialog();
fd.ShowDialog();
}
catch (Exception ex)
{
}
}
}
vijayr
2-May-11 8:30am
View
Thanks you very much for giving valuable data for me..
here i have doubt, how i can change or set the packagecode ? because there is no direct way for to change the packagecode
Thanks
Vijay r
vijayr
2-May-11 8:20am
View
i am agree with ur point.if i am executing the same .msi, then no issue.
but if i do rebulid and clicking the .msi file
Then it's giving "Another version of this product is already installed.Installation of this version cannot continue."
kindly give me the clue
vijayr
2-May-11 5:39am
View
hi,
Thanks for data.
i have one more question. if already installed same version software in system, Again installing time how to get Repair, Remove and Uninstall Options, If newer version is going to install same software how to get Upgrade options through Install shield.....
vijayr
14-Apr-11 3:56am
View
okay thks but i have question
is it possible to use this Msjet40.dll from externally
vijayr
14-Apr-11 3:56am
View
is it possible to use this Msjet40.dll ?
vijayr
31-Mar-11 5:07am
View
Thanks.. really great idea...
I will implement this logic in my software, will see the impact and how it's working ...
vijayr
31-Mar-11 4:56am
View
Anyway i was given a outline of the logic from the software...
is it not posible...
Thanks
Vijay r
vijayr
31-Mar-11 4:55am
View
Exactly i am agreed with ur point... but the issue is i can't use the sleep method because of the logic which behind in the software
vijayr
31-Mar-11 4:52am
View
Deleted
Thanks for the data...
Exactly i am agreed with ur point... but the issue i use the sleep based on the logic which behind in the software
vijayr
31-Mar-11 4:50am
View
static int curSliderPos =0;
static void Test()
{
while (true)
{
//Based on the "curSliderPos" few operation will be there, which can't mention here :-(
}
}
static void Test1()
{
while (true)
{
//getting the video position and assign it in to the variable
curSliderPos = axWindowsmediaplayer.currentposition
}
}
vijayr
31-Mar-11 4:24am
View
thanks for data... but the issue which i facing
eg ., While(true)
{
doing something based on the variable value which keep increment in another loop in the second thread...
}
vijayr
15-Mar-11 7:07am
View
rollback event is not firing
vijayr
23-Feb-11 2:10am
View
i have visited already. do you have any other idea
vijayr
23-Feb-11 2:09am
View
Thanks you very much
Thanks
Vijay r
vijayr
4-Jan-11 1:31am
View
yes, i am reading the two values from the XML file.
First value is "-6.355410929135618578000000000000000000000e+83" in string format.
Second value is "149.0922279000" in string format.
I have to add these two values first.This is my first step from the logic what I have.
While adding this two values,I am getting the result is "-6.3554109291356186E+83".
Here i need some value like "-x.xxxxxxxxx" and not like "-x.xxxxxxxE+18".
How i can convert.
Is My Question is clear ? please advice me
vijayr
4-Jan-11 1:00am
View
Deleted
Thanks you so much, See the my answer in below section
vijayr
4-Jan-11 0:58am
View
hi,
Thanks so much,
i have tried with below example as per your idea but i am still getting the result with E+83. how i can resolve this and how i remove the E values
string strd = "-6.355410929135618578000000000000000000000e+83";
NumberStyles styles;
styles = NumberStyles.AllowExponent | NumberStyles.Number;
double dbl1 = Double.Parse(strd, styles);
double dbl2 = Double.parse("149.0922279000",styles);
double Total = dbl1 + dbl2;
Thanks
Vijay r
vijayr
30-Dec-10 9:30am
View
thanks. i am doing google but do u have any links on this
vijayr
7-Dec-10 13:28pm
View
thks Toli and Dalek
i got the idea from "http://www.codeproject.com/KB/cs/csharpripper.aspx" and then they are explaining the code,
How to rip the audio file from the CD and save into wmv file
Thanks you very much
vijayr
7-Dec-10 12:49pm
View
what is the copyright issue ? because i don't know what could be ?
Anyway i won't sale this
vijayr
6-Dec-10 5:52am
View
Currently i was in learning stage, so like to do some difficult project from my end so i take this and also not for sale
like to become and good programmer in C#.net
vijayr
6-Dec-10 5:51am
View
cool, This is nice example.i will try it today.
Currently i was in learning stage, so like to do more project from my end(for getting the good programmer).And also not for sale
vijayr
12-Nov-10 7:44am
View
thank you.. but i already saw this link, it supporting only AVI file. i working on mpg files.
Thanks
Vijay r
vijayr
8-Sep-10 10:33am
View
hi,
can u explain me bit or some kind of logic
vijayr
3-Aug-10 9:35am
View
thks, but how can i resolved it
Network team telling our protocal is "SSH-2.0" but i don't why it given a error
how can please help me
Show More