Answer Questions
JonnyAJAX Buffering Images HELP
Im not sure if this is the right place for this post, if not I apologize in advance this is my first time on the forum. My question is - I am trying to write an Image Viewer program that reads the file paths from the file system and stores them in a list. Then it loads the first 25 images into an Image list(the 25 can be set to whatever I want.). That all works fine. The problem is when you get to the end of the 25 and its time to add more images. It works but is EXTREMELY slow. I cant seem to figure this out and have been playing with it for a while now. Any insight would be appriciated. Heres my code for adding to the buffer - public void vScrollBar1_Scroll( object sender, ScrollEventArgs e) { Thread addThread; i ...Show All
drinkwater DataBinding , wrong values
Hi! I make DataBindings in my app and don't work good, binding controls show erroneous values. I have two DataTables, PersonsDataTable with columns{"ID","NAME","LNAME","PHONE","LANG_ID"} , and LangsDataTable with columns {"ID", "LANG"}. I'm trying that when i change the value in cmb_Combo, all controls changes to the its respective new value, but altought all controls changes its values ... ALL VALUES ARE WRONG !! I don't why, and i don't know where obtain this values, but point to an erroneous register .... i'm desperated, because i thought that was a correct values, and today, by chance, i test the values with the SQLServer ... surprise! Please help. I stoped the code to see the DataTables content and is correct. ...Show All
babarzhr IntellisenseTextbox
Last week I added the possibility for the users of my hobbyprogram to add there own code. I therefore added a RichTextBox to display and edit the corresponding C# (or VB-code). However thus is without intellisense. Thusfar I haven't found ways to add some basic level of intellisense to that textbox. I wondered if someone knows how to get some IntellisenseTextbox , basically thus a RichTextBox with Intellisense the codeproject seems to be the thing I want, currently the site seems to have login troubles so I can't download the code. sharpdevelop is the perverbial elephant to kill an ant (locating the needed code is something that takes some time), however it is a nice porgramming environment f ...Show All
bergtatt If datagridview.Col = 0 Then
With datagridview.Rows If datagridview.Col = 0 Then ...... how do I test to see if the current datagridview's column is zero thx. -greg and how can I set the column thx. thx. -g try this: handle the cell enter event of the dgv. As soon as you enter cell(0) of any row, the row is selected. and it also works when you control+select rows by selecting the first cell of rows. Private Sub DataGridView1_CellEnter( ByVal sender As Object , ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellEnter If (e.ColumnIndex) = 0 Then Me .DataGridView1.Rows(e.RowIndex).Selected = Tr ...Show All
LievenI Publishing in VB Express
I am new to VB and program development. I have developed a program in VB Express that connects to Access database. It feeds some data onto forms to allow calculations to be done and saved to the database. It also connects to the same database and starts MS Access to access the reports. Although the program works when debugging I encountered a problem with publishing. If i set the setting in project properties, publish, application files, for my .mdb file to data file, the program returns an error message for starting Access, if i set the setting to include, it works to start Access but does not feed data onto the forms. It seems like I need two different settings for one .mdb file. I please need help on how to resolve the matter. ...Show All
c699976 how to deploy my vs2005 projects in the old way
the old way here i mean i don't wanna offer my user an installer package because they prefer a zip package so they could just unpack and register just by running a bat or script file. but there are some projects is developed by c#, and some are developed by vc2005 (com dll). could anyone tell me how to achieve this goal ...Show All
Gurpreet Singh Gill Win Forms Web Services - Batch Processing/Console Apps
G'day all, I've been developing a Win Forms 2.0 app using Vis Studio 2005 via web services to a central server. The application provides customer information storage as well as part prices and order details. Periodically a user will be required to run a batch invoicing process which will effectively collate orders over a given period and create invoice records for each order. The batch process could potentially take some for clients holding extensive numbers of orders and parts etc. My concern is that users of the system must still be able to continue to use the application whilst the Invoicing Batching is taking place. From my understanding, using web services and singleton design, the next user 'waiting' to utilise the server ...Show All
nativecpp How can make one cells value changed with other cell value same time in DataGridView ?
In DataGridView control , there are more than 3 cell in a row, like int i = invoiceDetailsDataGridView.CurrentCell.RowIndex; DataGridViewRow row = invoiceDetailsDataGridView.Rows ; row.Cells .Value = Convert.ToInt32(row.Cells[3].Value) * Convert.ToDecimal(row.Cells[4].Value) - Convert.ToDecimal(row.Cells[5].Value); how can i make the Cell .value changed with the Cell[3].value changing same time i can make Cell .value changed by leave the current cell (Cell[3]) and click other cell of the DataGridView. I want all the values changed at same time with out exit the current editing. I searched many times in this forum, but didn't find any advice worked. I tried a lot events of DataGridView to make ...Show All
Per Bornsjo Custom Cursor, showing up only in...black
I tried: this .Cursor = new Cursor ( Application .StartupPath + \\Images\\UI\\Cursor.cur ); to get a cursor, this is one from windows by the way, I used one that I wasn't using, so that I could tell the difference, but apparently... on form load, the cursor is black, not the blueish color it should be, it does this with every cursor I try too! Is there a form property interfering.. Languages: C# & VB .NET 2005 The cursor class only supports cursors of type *.cur. Along with that, I think Wang Chi meant it only supports "black" and "white" cursors. as it has been concluded, .NET supports black and white cursors not color. To use color, P/Invoke as suggested ...Show All
patrick anguet Loading same user control
I have a scenario for an MDI C# application, in the parent form there will be a datagrid from which a user may select one or multiple records. I will have to grab only the selected specific record cell values and pass it on to anotgher child form. Based on the number of selection the destination form will dynamically genrate the selected values list and a text box comments field next to each value. I have created a user control that has two text boxes, one read only that displays the selected datagrid cell value and another text box which the user may use to write comments about that cell value. I want to load this user control depending upon the number of record selection from the datagrid, for example if five records are selected then I ...Show All
Jitusj Passing secure parameters / info to client
Is there any other way to pass parameters to a clickonce application beside via the URL I do not want to pass the user password through the URL for security reasons. Plus, there's a limit to the URL length. The parameters are dynamic and dependent on the user so I can't hardcode them into the application setting. I *could* encrypt the parameter values but is there an alternative solution Thanks Brian for the information. I am already doing the webservice approach to communicate with the server. However, each webservice call requires the username, password, and db connectionstring to authenticate the user. So I need to somehow pass that information from the web app to the clickonce client app (customers ...Show All
scoobystuck Open report from a form
I'm working on a windows application in C# (.NET 2.0). I need to open a report whne I click a button on the windows form. How do I do it Hi, Could you please check this link. Hope this helps. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnsql90/html/integratrsapp.asp Thank you, Bhanu. Crytal Reports, custom drawn report; use the PrintPreview object HTML; use the axWBBrowser Stored File; use the shared/static Process to open it using its associated program In my windows application I have created a report using SQL Report Services. How do I call that report from that windows form. ...Show All
David S. Anderson Database scripts execution at the time of deploying ASP.NET Website
I am working on website and it is at final statges. I have a problem. I had created script files for my database and I want them to be get executed at the time of deploying website. could anyone of you help me. (Article/Source) Thank you. ...Show All
Steve Strong connectivity of database with outlook express..
hi programmers, How to configure database with microsoft outlook express. can we download database on PC through microsoft outlook express. help me....its urgent..... Please take the time to explain what you are trying to do so someone can help you. ...Show All
hdp203 Auto generating buttons
Hey All For a little project of mine, I need to creat buttons from either an ArrayList containing the names of what the buttons should be called or from or from a database table. Depending what was is easiest to understand/do. They all have to be in the same windows form, so that if the ArrayList contains 10 names then there should be generated 10 buttons on load, and if one of the names is removed from the ArrayList then the button should also be removed. Hope anyone will be able to help me. Thanks Anders Lykke Thanks alot Peter for the fast and very good help. I assume this is more or less a general solution to adding controls to a Windows form. System.Collectio ...Show All
