Ramy Mahrous 401 Postaholic Featured Poster

Draws rectangle on windows form.
You may need to read in http://msdn.microsoft.com/en-us/library/8z5dw491(VS.80).aspx

Ramy Mahrous 401 Postaholic Featured Poster

You didn't solve your problem by removing trim from if, to format it you should String.IsNullOrEmpty(dr[5].ToString().Trim(new char[]{'-'}/*and your special characters */)

Ramy Mahrous 401 Postaholic Featured Poster

You're database design not correct, description words should be in independent table and words also in independent table and there's many-to-many relationship, then you could ask SQL or Access to get what you need in easy manner.

Ramy Mahrous 401 Postaholic Featured Poster

It's not tooltip it's documentation

/// <summary>
/// Adds two operands and return the sum
/// </summary>
/// <param name="op1">First operand</param>
/// <param name="op2">Second operand</param>
/// <returns>The sum</returns>
private static float Add(float op1, float op2)
{
throw new NotImplementedException();
}

if you write Add it'd show the above documentation

DON'T WRITE ANY METHOD WITHOUT DOCUMENTATION, it's help who come after you understand it very well.

How to do: write three slashes (///) above the method.

Ramy Mahrous 401 Postaholic Featured Poster

Fundamentals! you must learn it so well. and they are so easy, you can take every topic and googlize it, you'll find dozens of help and code snippets.

Ramy Mahrous 401 Postaholic Featured Poster

It's our pleasure :) please mark it as solved if the URLs helped you.

Ramy Mahrous 401 Postaholic Featured Poster
Ramy Mahrous 401 Postaholic Featured Poster

S60 documentation points you to the right direction although I don't know what S60 is! but any hardware supports interfaces to talk to it through has documentation or SDK to help developers.

Ramy Mahrous 401 Postaholic Featured Poster
Ramy Mahrous 401 Postaholic Featured Poster

Can you please clarify your question?!

Ramy Mahrous 401 Postaholic Featured Poster

Please send the full code, getRecords ??

Ramy Mahrous 401 Postaholic Featured Poster

Please mention your version of SQL Server to get the best tutorial for you I assume you are using 2005 here you are: http://www.databasejournal.com/features/mssql/article.php/3626056/Database-Mail-in-SQL-Server-2005.htm

Ramy Mahrous 401 Postaholic Featured Poster

So, can you please copy and paste asmx URL in VS, when it asks you to locate the asmx on your computer don't let it search for you, just copy and paste the URL (that's what I wrote in the URL I gave you it).

Ramy Mahrous 401 Postaholic Featured Poster

Can you please try that on SSMS, and see what happens? it may there something wrong from C#.

Ramy Mahrous 401 Postaholic Featured Poster

You should close this thread, moderators!!

Ramy Mahrous 401 Postaholic Featured Poster

What are you doing is called satellite dll which holds some resources to another programs it's OK, but for your scenario I find database is scalable more than using satellite dll. what if you user needs to add some pictures to your image collections? if you are using satellite dll you need to do intermediate class to talk to both .resx and external application and this intermediate class can handle naming and so on.

Ramy Mahrous 401 Postaholic Featured Poster

Are you working on Windows Vista?
If you right click on you VS and run it as administrator it may help you and please attach picture of your problem I didn't firgured it out till now.

Ramy Mahrous 401 Postaholic Featured Poster

I thought I faced this problem VS 2008 beta days take a look it may help you http://fci-h.blogspot.com/2007/08/webservices-in-orcas.html

Ramy Mahrous 401 Postaholic Featured Poster

Let your windows application call the demo application. work around it.

Ramy Mahrous 401 Postaholic Featured Poster
Ramy Mahrous 401 Postaholic Featured Poster

MCTS: For IT professionals who want to demonstrate their technical expertise in one of three areas: Implementation and Maintenance, Database Development, or Business Intelligence
http://www.microsoft.com/learning/mcp/mcts/sql/2008/

MCITP: Builds on an MCTS pre-requisite and is designed for IT professionals who want to demonstrate their expertise in using SQL Server 2008 for one of three specific job roles: Database Administrator, Database Developer, or Business Intelligence Developer
http://www.microsoft.com/learning/mcp/mcitp/sql/2008/

Microsoft Certified Master: Microsoft SQL Server 2008: For senior-level IT professionals who seek in-depth and comprehensive training on implementing database solutions by using Microsoft SQL Server 2008
http://www.microsoft.com/learning/mcp/master/sql/

Take a look on: http://www.microsoft.com/learning/mcp/certifications.mspx

Ramy Mahrous 401 Postaholic Featured Poster

It's independent ETL solution by Microsoft but from any source to any destination and you don't need to have SQL Server as software or staging to move data, I highly recommend you to use it, any help regarding this I'm here.

Ramy Mahrous 401 Postaholic Featured Poster

I recommend you to move to ASP.NET forum.

Ramy Mahrous 401 Postaholic Featured Poster

TextChanged will postback, they need it as javascript to not postback it's common business scenario.

Ramy Mahrous 401 Postaholic Featured Poster

what about SSIS? I didn't use SSMA.
You can use SSIS to move\copy data in fast and smooth way.

Ramy Mahrous 401 Postaholic Featured Poster

Please drop you code here or try ASP.NET Forum

Ramy Mahrous 401 Postaholic Featured Poster

I've no clue about XMLPathNavigator, but I see XPathNodeIterator like DataReader (Forward, and readonly) it means you can't return back to first element so the solution is to refill ni again

XPathNodeIterator ni = nav.Select("/orders/order");
while (ni.MoveNext())      
Console.WriteLine("First time " + ni.Current.Value); 
ni = nav.Select("/orders/order");
while (ni.MoveNext())      
Console.WriteLine("Second time " + ni.Current.Value);
Ramy Mahrous 401 Postaholic Featured Poster

You may need this question in ASP.NET forum http://www.daniweb.com/forums/forum18.html they will help you more I have no more than recommending you to debug and discover why Null comes...

Ramy Mahrous 401 Postaholic Featured Poster

So far I didn't reach C# code for Gabor algorithm, but there's in MATLAB Mathworks website http://www.mathworks.ch/matlabcentral/fileexchange/23253 you can integrate with MATLAB from your C# application and I see it the most proper solution for now.

Ramy Mahrous 401 Postaholic Featured Poster

Debug and watch the value of str.ToString() and you'll discover why this error raised.

Ramy Mahrous 401 Postaholic Featured Poster

That's can be done with .settings file! nothing guaranteed :) they can use database but I don't think it's proper use.

Ramy Mahrous 401 Postaholic Featured Poster

what's the error?

Ramy Mahrous 401 Postaholic Featured Poster

No, I do. Seems the problem in my Chrome version, I'm checking now from my work machine and it works well.

Thanks.

Ramy Mahrous 401 Postaholic Featured Poster

I use Google Chrome but these days I found out some weird things
like
- URL http://www.daniweb.com/?nojs=0#usercptools
- Control Panel doesn't drop down when I click
- Forum tools also, etc...

It was working nicely after latest Daniweb UI\UX updates.

Ramy Mahrous 401 Postaholic Featured Poster

Danny, they can use flat file (CSV) to save user selected indices
i.e
0,4,5,3
Then on form load he can read the file do these indices selected.

Ramy Mahrous 401 Postaholic Featured Poster

Edit the file:|!!!!!!! I don't like such solutions! Any way mark it as solved if you want to dicuss more about this problem reply...

Ramy Mahrous 401 Postaholic Featured Poster

Are there interfaces (COM Interfaces) you can talk to install.exe through?
C# is COM-support and you can talk to many different application from it via COM. as an example you can open .doc\.docx file, sign in\out Window Live Messenger, etc...

Ramy Mahrous 401 Postaholic Featured Poster

You can solve it using default on database side, if you insert null value it automatically replaced by a specified value.

Ramy Mahrous 401 Postaholic Featured Poster

You should do these calcualtions against database not on UI layer.

Ramy Mahrous 401 Postaholic Featured Poster

If I were you, the answer that came to my mind once I read your question is to compare the time of the song and from when it played.
I.e: the song length in time 2 minutes == 120 seconds and the time elapsed since it played is 60 seconds so 60\120 = 0.5 so put the Slider or the ProgressBar or what you use to its half and update it until time elapsed = the length of song.

Ramy Mahrous 401 Postaholic Featured Poster

If you can contact who developed Srcds they can give you the proper solution, I just gave the standardized solution for such demands.

Ramy Mahrous 401 Postaholic Featured Poster

Let's modify your code to this

byte[] ImageByte = null;
MemoryStream MemStream = null;
PictureBox PicBx = new PictureBox();
object OB;

string WorkingDirectory = Application.StartupPath + "\\";
connString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + WorkingDirectory + "DBFile.mdb; Persist Security Info=True";
cnction = new OleDbConnection(connString);
cnction.Open();
int ImageID = 6;
sqlCommand = "SELECT ImageObject FROM ImagesTable WHERE ImageID = " + ImageID + "";
comm = new OleDbCommand(sqlCommand, cnction);
ImageByte = comm.ExecuteScalar();
MemStream = new MemoryStream(ImageByte);
PicBx.Image = Image.FromStream(MemStream);
}
Works?
Ramy Mahrous 401 Postaholic Featured Poster

Kindly, have a look on this thread http://www.daniweb.com/forums/thread185806.html and tell me if you can customize the solution given there to solve yours or not

Ramy Mahrous 401 Postaholic Featured Poster

I know both restrictions but I've no exact information about their project.

Ramy Mahrous 401 Postaholic Featured Poster

My pleasure, Serkan :)

Ramy Mahrous 401 Postaholic Featured Poster

Diamonddrake, I understand multithreading well but the asker didn't mention if they use usercontrol or just call a method, if they say drag and drop this control on form it means usercontrol initiated in a thread which is different than the thread inteact with this usercontrol and we need to customize the code. but all in all in many cases I don't exactly answer the question well because I'm not with the developer who faces the problem, in my entire life if someone face a problem I meet them and stay to solve the problem together.

Ramy Mahrous 401 Postaholic Featured Poster

My pleasure friend, search on Solved in this page I think I can't tell you its location :)

Ramy Mahrous 401 Postaholic Featured Poster

No friend it's poosible.
From ComboBox properties let
AutoCompleteMode = SuggestAppend
AutoCompleteSource = ListItems

jen140 commented: Thanks for help =) +1
serkan sendur commented: very good solution +4
Ramy Mahrous 401 Postaholic Featured Poster

Sorry I forgot something try this

Extract_ButtonHandler_Click(object sender, EventArgs e)
{
thrd = new Thread(new ThreadStart(ExtractFrames));
thrd.Start();
}
Ramy Mahrous 401 Postaholic Featured Poster

I'm some how can't understand you can you please tell me the scenario and how the crash happens?