Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
75% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #1K
~14.2K People Reached
Favorite Tags

44 Posted Topics

Member Avatar for poymode

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 …

Member Avatar for safeer ahmad
0
1K
Member Avatar for sanz

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.

Member Avatar for JOSheaIV
0
297
Member Avatar for phulse

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]

Member Avatar for _dborg
0
255
Member Avatar for JuhaW

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 …

Member Avatar for ecom-host-guru
0
145
Member Avatar for Shwetha Dali

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.

Member Avatar for JuhaW
0
743
Member Avatar for amulgarg

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]

Member Avatar for arunkumars
0
165
Member Avatar for mangal123

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 …

Member Avatar for JuhaW
-1
145
Member Avatar for rotten69

Do you running c# program in windows service. The changin user of service should help. Other option is to use Sql authentication. Juhaw

Member Avatar for rotten69
0
180
Member Avatar for chowmein87

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 …

Member Avatar for AnkitGuru
0
392
Member Avatar for Arjun_Sarankulu

Do you have tried this? [CODE]Assembly a = Assembly.LoadFrom(dllname);[/CODE] :Jw

Member Avatar for Arjun_Sarankulu
0
77
Member Avatar for Zany..!

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]

Member Avatar for rules_ky
0
564
Member Avatar for procomp65

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

Member Avatar for AnthonyMG
0
149
Member Avatar for JOSheaIV

Try to use DataGridViewComboBoxColumn instead. You could find example from help about that method.

Member Avatar for JOSheaIV
0
862
Member Avatar for menonnik

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.

Member Avatar for JuhaW
0
96
Member Avatar for santosh12345

Use abstract class if you want to create new inherited classes. Interfaces are suitable to add abstract methods to existing class hierarchy.

Member Avatar for JuhaW
0
80
Member Avatar for jonnod123
Member Avatar for jonnod123
0
150
Member Avatar for simbomatic

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.

Member Avatar for simbomatic
0
149
Member Avatar for jockfaire

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

Member Avatar for JuhaW
0
288
Member Avatar for hitro456

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.

Member Avatar for JuhaW
0
89
Member Avatar for Vytautas

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.

Member Avatar for JuhaW
0
108
Member Avatar for shahab.burki

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 …

Member Avatar for JuhaW
0
82
Member Avatar for muqing

You should know how many items you have read and put it as parameter array_size.

Member Avatar for JuhaW
0
83
Member Avatar for chonyt
Member Avatar for jks4000

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]

Member Avatar for Geekitygeek
0
509
Member Avatar for Zany..!
Member Avatar for JuhaW
0
108
Member Avatar for danieldot

You can take part of the string using substring. [CODE] string s="x10"; int i = int.Parse(s.Substring(1)); [/CODE]

Member Avatar for danieldot
0
155
Member Avatar for abarlowa

[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]

Member Avatar for herbie643
0
84
Member Avatar for templersstorms

You could create event CellMouseDoubleClick or ColumnHeaderMouseDoubleClick in property editor and event page aspx is related to web forms I think. Hope this helps

Member Avatar for Geekitygeek
0
5K
Member Avatar for newcuser

You can try to add to begin of the code: [CODE] #ifdef __cplusplus extern "C" #endif [/CODE]

Member Avatar for WaltP
0
171
Member Avatar for mikecole79

Try to deactivate controls before making controls invisible. It seems that hiding control that is active may jam sotfware in strange way.

Member Avatar for mikecole79
0
95
Member Avatar for abarlowa
Member Avatar for abarlowa
0
156
Member Avatar for dipankar.

Yo should download SQL Server Management Studio Express from Microsoft download center

Member Avatar for dipankar.
0
146
Member Avatar for asm2hex

[CODE] # memcpy(&currentInput->input, lpBuffer, strlen(lpBuffer)+1); # [/CODE] I think that lpBuffer itself is a pointer. To access memory buffer remove & operator

Member Avatar for JuhaW
0
118
Member Avatar for Cory_Brown

There are two possible reason. Object have special defination for operation += or class is an event and += operations adds new event handler.

Member Avatar for privatevoid
0
132
Member Avatar for thirupathireddy

First error, message is uninitialized pointer after malloc. Following structure is what you are looking for I think. After changing this you had to change usage of mesage from pointer to structure. [CODE]struct host_msgs_list { struct host_msgs_struct message; struct host_msgs_list *next; };[/CODE]

Member Avatar for abhimanipal
0
112
Member Avatar for Joelles
Member Avatar for zeeven
Member Avatar for Mitja Bonca

Part of the sample in .NET sdk. [CODE] // Once a table has been created, use the // NewRow to create a DataRow. DataRow row; row = table.NewRow(); // Then add the new row to the collection. row["fName"] = "John"; row["lName"] = "Smith"; table.Rows.Add(row); [/CODE]

Member Avatar for JuhaW
0
107
Member Avatar for lebanese007

Canä't you just increaser timeout settings. I have seen as short timeout as about 15 sec when little bit more complex query will fail.

Member Avatar for JuhaW
0
112
Member Avatar for wen30

Could you consider about inheriting classes like this: after inheritation you should create: [CODE]TreeViewx1 t1=new class22(); 1. public partial class TreeViewx1 : UserControl 2. { 3. public void UpdateTreeView() 4. { 5. TreeView1.Nodes["test"].Nodes.Add(new TreeNode("test11")); 6. } 7. } 8. 9. class class22:TreeViewx1 10. { 11. //other algorithm 12. UpdateTreeView(); 13. …

Member Avatar for wen30
0
110
Member Avatar for johny321

Hi, As far as I know, having same or almost same webpage in multiple domains will lead to supplemental indexing. From web I have read also other reasons, but they doesn't seem to be so obvious.

Member Avatar for bobchrist
0
41
Member Avatar for manomanjudotcom
Member Avatar for shankbond

With sql server you can use query like this. select t1.first_ name ,t2.money depositted from table1 t1 left join table2 t2 on t1.userid=t2.userid left join should help for null values. If you like to hide null values you should use instead inner join. C# can not create update statement by …

Member Avatar for JuhaW
0
87
Member Avatar for TheFoeHammer

Did you try? [code=C#]System.IO.File.Delete("C:\\WINDOWS\\Example.Ink"); // This should work.[/code] [QUOTE=TheFoeHammer;922443]I need to delete a shortcut but the code I wrote will not work. [code=C#]System.IO.File.Delete("C:/WINDOWS/Example.Ink"); // This returns no errors at all, just nothing happens.[/code] Does anyone have an idea on an alternate way to delete a shortcut? Any help is appreciated …

Member Avatar for Nick Evan
0
460

The End.