1,302 Posted Topics
Re: that's good idea vashini, you can also make some image enhancements, use DIP in security, or develop advanced OCR for most complicated languages like Arabic,.... | |
Re: What do you need exactly? | |
Re: Quote from daniweb Most of people on daniweb can't express their problem. Quote from life Just smile, tomorrow is better. | |
Re: If this database resides on the server, type its name and use your suitable authentication options and select target database from databases downlist. | |
Here's I wrote some code to move controls on the form 1- Assign (Control_MouseMove, Control_MouseDown, and Control_MouseUp) to the controls you need it movable. | |
Re: You can create your viewer to text files by using control like RichTextBox and use .LoadFile method which takes text file path Or Using default text file editor on client machine by call [icode]Process.Start(filePath);[/icode] | |
Re: Do you see the ReportViewer control when you're trying to add them to the toolbox? | |
1- Handler TextBox Key pressed event handler. | |
Re: It may help [url]http://msdn.microsoft.com/en-us/library/w67sdsex.aspx[/url] | |
Re: [icode]Catalog=Database[/icode] your database called database?? Give us the error, to help you :) | |
Re: In your case don't use [auto number] rather generate it yourself in your front end application. | |
Re: In your dataset you can add some queries or paramatized queries and pass the value of its variable(s) at the runtime, on your DataTable right click then Add query and go through it.... Concerns Textbox you should do some process on the data return from database before showing them on … | |
Re: Why [iCODE]counts[i] = 0;[/iCODE] it's initialized by default. and this too [iCODE]c1[i, j] = 0;[/iCODE] | |
Re: You're not replicate to take care about auto increment indexes... did you try backup and restore then faced any problem?! If you ask about how to backup it... you can build SSIS package to backup the database with any logic and create job to execute this package. | |
Re: Look you can't do that... unless you may run a service to open all files so user can't open\copy or do any operations on those files (I don't recommend it) You may save images as binary so user can't access it, but still any operations applicable on them. | |
Re: [code] ShellExecute hWnd, "explore", "C:\whatever", _ vbNullString, vbNullString, SW_SHOWNORMAL [/code] I got it from [URL]http://vb-helper.com/howto_shellexecute.html[/URL] | |
Re: Search in Google "DataGrid + VB.NET" | |
Re: I don't get what you need us to help in? | |
Re: Close this thread, I think you open similar one and it's solved! | |
Re: I believe ASP.NET forum is better for such questions [url]http://www.daniweb.com/forums/forum18.html[/url] | |
Re: Using SMO library you can modify your database objects, here's a sample [url]http://www.codeproject.com/Tips/43900/Creating-SQL-Server-Login-programmatically.aspx[/url] but to do something a bit different but I'm sure you'll get it. I believe there's something in your design to avoid redesign everytime, be sure your system is scalable enough and try another database design. | |
Re: [url]http://www.telerik.com/community/labs/telerik-code-converter---convert-vb-to-c-or-c-to-vb.aspx[/url] | |
Re: Change email.Body to [iCODE]email.Body = "<body background=\"@@IMAGE@@\"> </body>"[/iCODE] | |
Re: You can't take input from Grid, rather you can use some controls to pass value to SELECT statement and what returns is the Grid's DataSource | |
Re: A great article which makes you understand when to use abstract classes and when you use interfaces Interfaces: [url]http://fci-h.blogspot.com/2008/03/oop-design-concepts-interfaces_05.html[/url] Abstract classes: [url]http://fci-h.blogspot.com/2008/03/oop-design-concepts-abstract-classes.html[/url] | |
Here's I wrote some code to validate user input without using if\else statements. I believe in scalability is the most important aspect in our problems solution. Let's say we are required to permit only numerics in some text boxes; we shouldn't develop something like that [iCODE]if(((e.KeyChar < '0' || e.KeyChar … | |
Re: Very easy... Project->Add Reference->COM tab and look for the Microsoft Word X.x Object Library Use ApplicationClass class. Enjoy... | |
Re: Can you please move your thread to ASP.NET Forum to get lots of answers [url]http://www.daniweb.com/forums/forum18.html[/url] | |
Re: C# on MSDN: [url]http://msdn2.microsoft.com/en-us/vcsharp/default.aspx[/url] [code] pictureBox1.Image = Properties.Resources.[image name]; [/code] | |
Re: What happens when you run the application? Controls appears or not? if yes try to remove the form from the solution then get it from recycle bin to the solution folder add existing item and select it. | |
Re: What's the exception please copy it here | |
I don't like the sign... It should be visible by default not just when I over my mouse on someone profile picture! | |
Re: After the last "." get the string is after you may have file, its name readme.program.user.txt!! It's the time to play with string class, you can also use regular expression and you can use FileInfo. | |
Re: Add the values in List<String> and use some List methods like Reverse,.... | |
Re: Create table for recipe (name, description, avg. time to do it, how to make it etc..) Create table form ingredients (name, etc..) Create bridge table for both tables (DB concepts) It's almost done! Make a program to connect to this database search on (recipe name or recipe description) and show … | |
Re: System.IO.FileSystemInfo helps you [url]http://msdn.microsoft.com/en-us/library/system.io.filesysteminfo.aspx[/url] | |
Re: You can use "using" or fullnaming methodology Namespace.NestedNamespace.ClassName [CODE=C#]using Microsoft.Office.Interop.Outlook;[/CODE] Sample [url]http://www.codeguru.com/csharp/csharp/cs_syntax/operators/article.php/c14293/Microsoft-Outlook-Integration-with-CNET.htm[/url] | |
Re: First I recommend to ask this question in ASP.NET forum [url]http://www.daniweb.com/forums/forum18.html[/url] Second Why to retrive the 7000 records? those records a result for something? search result of example? if yes you should get them 10 by 10 or X by X where X < 100 Session in your case is … | |
Re: Sorry, but what's the expected response? give me input\output to figure it out. or read [url]http://fci-h.blogspot.com/2010/05/how-to-consum-rest-based-services.html[/url] and configure it to work on simple web request. | |
Re: It may help you [url]http://bytes.com/topic/c-sharp/answers/258712-forcing-explorer-close-open-windows-c[/url] | |
| |
Re: Look... You should write the query to have the question answer. SELECT Question, ...., Answer, then you set the navigation property of the Dynamic Link created to the [Answer] column returned -Here I suppose you're using DataGridView- if you tell me how the database looks like, definitely I'll help you … | |
Re: Then you've to read in Introduction to OLE DB [url]http://www.functionx.com/vbnet/oledb/Lesson01.htm[/url] | |
Re: I didn't get it! can you please clarify! If you want to handle two buttons click in one handler you set the event handler for each of which by its properties window to button_Click method. [CODE=C#] void button_Click(object sender, EventArgs e) { Button clickedButton = (Button)sender; if(clickedButton.Name == "Button1") { … | |
Re: [CODE=sql] SELECT words FROM TableWords WHERE date = @date [/CODE] [CODE=C#] SqlConnection dbConnection = new SqlConnection(CONNECTION_STRING); string commandString = "SELECT words FROM TableWords WHERE date = @date"; SqlCommand commandStatement = new SqlCommand(commandString, dbConnection); commandStatement.Parameters.Add("@date", SqlType.SmallDatetime).Value = DateTimePicker1.Value; DataReader results = commandStatement.ExecuteReader(); .... [/CODE] | |
| |
Re: So, you have Child Form which opens from the button... you'll implement the event Form Closed of the Child Form to execute this piece of code [CODE=C#]yourButton.Enabled = true;[/CODE] | |
Re: CellBeginEdit [CODE=C#] private void dataGridView1_CellBeginEdit(object sender, DataGridViewCellCancelEventArgs e) { MessageBox.Show("User began editing the cell"); } [/CODE] |
The End.