1,302 Posted Topics
Re: You may be in need to CommitTransaction??! I think so I don't have Visual Studio right now. if you don't make transaction it'll work well, but working with Transaction need you to commit the update. [code=c#] private void executeQuery(String sql, SqlConnection thisConnection) { SqlCommand thisCommand; try { thisCommand = new … | |
Re: View won't help and I think UDF (User Defined Function) won't help too, the best practice is to use Stored Procedure [code=sql] Create procedure sam1 AS Insert into tableX(column2) values (select column1 from tableX) [/code] | |
Re: VB 6.0 forum [url]http://www.daniweb.com/forums/forum4.html[/url] | |
Re: Define an global object from dialogForm in the button which open this dialog which exists in MainForm initialize new dialogForm object then get its string instance. More... DialogForm contains public string object which has the value of the texrbox MainForm has global object from DialogForm [code=c#] class MainForm : Form … | |
Re: That's your task not mine, but I'll give you a hint, declare two float objects op1 and op2, when user begins enter some numbers in the textbox (the only one) once s\he presses +, -, *, \ take the textbox.text value and assign it to the op1 then clear the … | |
Re: when you drag the combobox or listbox, an small arrow on the top right of the control appears, press it and select add a new datasource... | |
Re: [QUOTE]Also i want to ask how can i share the same instance of a class in two different classes ?. (i want to share the same instance in form1 and in form2)[/QUOTE] Singleton pattern helps you.. | |
Re: It's C# compiler restriction [QUOTE]Cannot pass 'currentphoto' as a ref or out argument because it is a 'foreach iteration variable'[/QUOTE] and your solution is good to avoid this restriction. | |
![]() | Re: 1. Try this until I stay on a pc has Visual Studio [code] List<BurstKlasse> Burst = new List<BurstKlasse>(); Burst.Add(new BurstKlasse(lengte,CPU_Burst)); void AddIntoList(ListBox list, List<Burst> items) { //clear the list list.Item.Clear(); //fill it foreach(Burst b in items.ToArray()) { list.items.Add(b); } } Tip: [B]To show Brust objects in a nice way (their … ![]() |
Re: I don't have something in which I can say that's the problem I am not sure but try to be sure from column names like 'name'. Trace the parameters sent to this SP if it works! Send me the error raised to help you. | |
Re: Add a reference to your MSWord application I think it's called Microsoft Word TypeLib or something like this.. Project->Add reference->COM->select the word reference.. | |
Re: On itemclicked event handler for the both lists write this code [code] { list1.Items.Add(list2.SelectedItem); list1.Items.Remove(list1.SelectedItem); } [/code] P.S. I don't have VS right now you may find syntax error but I think you are familiar with C# code and got what I mean.. | |
Re: Hello, Serkan that's good material for solution deployment but we usually use threads to ask and answer you can create a blog and put your valuable information in so we can make use of!!! Million thanks for your contribution :) | |
Re: Yes, there is no problem, just give every edition an instance name... | |
Re: I don't know but this article [URL="http://www.codeproject.com/KB/dotnet/matlabeng.aspx"]1..2..3 ways of integrating MATLAB with the .NET [/URL]may help you | |
Re: Work around GDI+ it helps in such issues! | |
Re: select sum(column1)\5, column2, column3, column4,.... from table1 where some conditions but [QUOTE]I am using that query for Crystal report. I tried to get this by using Formula field. But that formula field returning me the result of all rows not for a single row.[/QUOTE] because you put it in a … | |
Windows PowerShell is a very productive tool Microsoft has integrated it with Windows Server 2008 since beta versions to automate some taskes, make it easier and fun for developers, be integrated with .net libraries and so on.. developers and administrators who haven't experience in VB script and programming languages like … | |
Re: Manually you can stop the server copy the data files and then restart the server.. | |
Re: Your question should be forwarded to [url]http://www.daniweb.com/forums/forum126.html[/url] because we're in MS SQL Server forum not [URL="http://www.daniweb.com/forums/forum126.html"]MySQL forum[/URL] | |
Re: Usually VS saves connectionstrings in .config file or .settings file which is xml formatted. to do it yourself vs main menu Project->Add new item->.settings file Add your items in this settings file, you're now can modify your settings without modifying your code. Avoid using ini files, xml is better. | |
Re: I'll read your question again but can you please provide us with sample input and the output, it'd help me | |
Re: Sorry I didn't get what you mean or where problem happens??!! please clarify.. thanks | |
Re: About ComboBox you can control the data it bound to be unique i.e if you return data from database let it distinct About tooltip, its show method take the control it shows if the cursor came on and the string it displayes i.e ToolTip1.Show(textbox1, "this is textbox") About a textbox(input … | |
Re: Read more on SQLTransaction class, if you search on this problem you may find something called COM+ don't go through it your problem can be solved using SQLTransaction class, don't overhead yourself by reading in COM+ | |
Re: Take a look at this article it'd help you [url]http://fci-h.blogspot.com/2007/03/turn-off-your-monitor-via-code-c.html[/url] Any questions is welcome... | |
Re: Please just copy the lines give errors not all your application!!! and provide us with exception\error raised!! | |
Re: Uncompatiblity in running applications with the OS, sure you'll find the version of access should be run on OS above XP and so on... Contact Microsoft technical support for more information. | |
Re: Try that, right click on your program then run as administrator.. reply if the problem still exists.. | |
Re: Googlize it, friend! and if you faced in problem regarding code, send us! we're here to help! | |
Re: You've installed Microsoft SQL Server Express Edition which runs from VS, to create Database you need to open VS and create Database and so on... | |
Re: mmmm, working in real life applications will lead you to use in common matlab librabries and may be in front end c# form, I don't know software vendor has written image processing libraries like matlab!! their lgorithms is fast may be you found some faster than them, try to comapre … | |
Re: usually email service provider, provides some webservices via it you can do a lot of operations on its clients like retrieving their mails and also send mails...... | |
Re: Contact hardware manufacturer, s\he can help you more.. | |
Re: If you need a project to learn, search on projects developed by Visual Studio Database Edtion. Develop phonebook application, go deeply db-design... | |
Re: I see your SP not written well what about that [CODE] alter PROCEDURE dbo.spGet_image ( @Image_id int ) AS SELECT [Image_MIME_type] ,[Image_image] FROM [MailSystem].[dbo].[image] WHERE Image.Image_id = @Image_id [/CODE] Pass your image ID [CODE] SqlCommand cmd = new SqlCommand("spGet_image", conn); cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.Add( new SqlParameter("@Image_id", SqlDbType.INT,4)); cmd.Parameters["@Image_id"].Value = pic_id; … | |
Re: select groupno,a from table1 where groupno <> 'Test' OR groupno is null | |
Re: If you use Microsoft SQL Server 2008 there is FileStream datatype. If you use Microsoft SQL Server 2000/2005 the optimal solution is to save file path rather file itself. | |
Re: You can use connected mode to send your data once it's updated. You can add to your TableAdapter an update command (customized) and it also update your date immediately. | |
Re: usually strings like what you show paths, connection strings,... saved in .config files that's a solution... but I'll give you another solution is to use relative path without refering to long path as u did simply if you need to tell your application you'll find the audio file besides the … | |
Re: Use Control called "Upload File" in Web-Based application (ASP.NET) then read uploaded file save its text into DB. | |
Re: VC++ question in VB.NET forum you may move your thread to get more answers [url]http://www.daniweb.com/forums/forum8.html[/url] Show method for MessageBox in C# returns DialogResult within you can know user selection (Yes, No, Abort, ....) I don't know if VC++ has the same scenario or not, I recommend to ask VC++ professionals. | |
Let's have some fun and be friends on Facebook and join our Daniweb group [url]http://www.facebook.com/group.php?gid=2373053760[/url] My profile link is [url]http://www.facebook.com/profile.php?id=891040383[/url] | |
Re: What do you mean by writing controls at text file? give me example?? |
The End.