- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Re: When I made POS systems 10 years ago all fields were repeated in every tables: price, quantity, discounts, etc. When one line was sold, there should not change these fields in any circumstances. All correction made with new line to recipe. Order is a little bit easier, because there won't … | |
Re: For example EAN13 (UPC in US) will use 30 different sequence to represent 10 numeric values. At the berginning could you tell little bit more specific which code trying to encodce. | |
Re: Do you have tried Vmware software to install software once, and to run in multible computers. There is free player to run virtual machines in many PC:s. [URL="http://vmware.com"]http://vmware.com[/URL] JuhaW [URL="http://www.willmansoft.com"]willmansoft.com[/URL] | |
I have been developed shareware software name [B]DBEXform[/B] to design forms and reports for different databases, with integrated Sql query builder. Basic functions in software are quite easy to use. Now it seems that potential larger users likes it, but they afraid to use is because lack of a local … | |
Re: Printing Green part of star also prints spaces over red star. Red and Green stars should print at same print, or you had to just move cursor instead printing space. I tried it basicaally worked, but some of code had to rewrite. | |
Re: Simple piece of code to make 5 second delay: [CODE] for (DateTime sec = DateTime.Now; DateTime.Now < sec+ new TimeSpan(0,0,5); ) Application.DoEvents(); [/CODE] | |
Re: I have developed shareware program where it is possible to draw form and reports, then print it out. Small sample from it I was copied some lines from my software, and hoping it is workable and understandable. [CODE] using System.Drawing; using System.Drawing.Printing; using System.IO; using System.Windows.Forms; namespace xxx { public … | |
Re: Do you running c# program in windows service. The changin user of service should help. Other option is to use Sql authentication. Juhaw | |
Re: Hello I found following from my software [CODE] public class WsPictureBox : PictureBox { public WsPictureBox() { SetStyle(ControlStyles.SupportsTransparentBackColor, true); UpdateStyles(); } } [/CODE] After that it should be possible to change backgroudcolor to transparent. Use new wspicture component instead. I have tried to use transparent components with DBEXform but implemented … | |
Re: Do you have tried this? [CODE]Assembly a = Assembly.LoadFrom(dllname);[/CODE] :Jw | |
Re: Hi you can also use key preview of form to catch key code when any control is active. Enable Previewkeydown property and implement: [CODE] private void Form1_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e) { } [/CODE] | |
Re: String can't be modified in .net. You could use array of byte or array of char. Ascii code could be presented as byte (8 bits). [CODE] byte[] buffer=new byte[4096]; [/CODE] If string length will be short it also quite efficient to use rebuild new string with replace | |
Re: Try to use DataGridViewComboBoxColumn instead. You could find example from help about that method. | |
Re: It's bad behavier to use many incrementation or decrementation with same variable in same statement. C standard does not support this. Result depends on compiler, version and optimations on compiler. Order of incrementations could happpen in any order. | |
Re: Use abstract class if you want to create new inherited classes. Interfaces are suitable to add abstract methods to existing class hierarchy. | |
Re: What is the datatype? Try to use [U]varchar[/U] instead of [U]char[/U] type in database. | |
Re: First notice in C# there is not posssible to alter any string. The string will be allways replaced. There could be possible to keep in safe old version of string. | |
Re: I have used string.Compare or ComporeTo to compare strings. I think that equality function checks only that strings are really same instances. PS string.IsNullOrEmpty(oldpassword.Text) is very useful | |
Re: You can create normal application and then modify application settings to create library from your project. I just made that with my form designer project. | |
| Re: I think that FileOpen and fclose are not compatible . Is there function pairs FileOpen-FileClose or fopen-fclose. I have at least once meet problem using wrong closing function in C. Databuffer may not be flushed in this case. |
Re: At least there is bug at begin of buildlist: head is argument of the fuction, but value of it is losed at begin of function. I cant't find any sense about malloc functions. First malloc just produces memory leak and second one just deletes argument. [CODE]# struct list_node* buildlist(struct list_node … | |
Re: You should know how many items you have read and put it as parameter array_size. | |
Re: Add eventhander in constructor of child form like this, Eventhandler must be introduced as public. In example I will use form named Main as main form. [CODE] public Form2() { InitializeComponent(); button1.Click+=new EventHandler(((Main)Application.OpenForms["Main"]).button1_Click); } [/CODE] | |
Re: It's byte[] type. It should be in same format than in file. | |
Re: You can take part of the string using substring. [CODE] string s="x10"; int i = int.Parse(s.Substring(1)); [/CODE] | |
Re: [CODE] # if (HourlyPayRate > HIGH) // not end of statement # Console.WriteLine ("The amount entered is to much"); # # else if (HourlyPayRate < LOW) //same # Console.WriteLine (The amount you entered is to small"); [/CODE] | |
Re: You could create event CellMouseDoubleClick or ColumnHeaderMouseDoubleClick in property editor and event page aspx is related to web forms I think. Hope this helps | |
Re: You can try to add to begin of the code: [CODE] #ifdef __cplusplus extern "C" #endif [/CODE] | |
Re: Try to deactivate controls before making controls invisible. It seems that hiding control that is active may jam sotfware in strange way. |