Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
G

gnadeem

@gnadeem
About
Posts
31
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Printing
    G gnadeem

    hi, for POS applications , normally APIs are available like OPOS. which provide methods for primitive printing tasks. for direct printing to a printing device using serial cable , u still can use OPOS standard. u will have to use special characters at begining and end of , for instance , a string to print it. in both cases, you will have to build a string that you want to print and send to printer (like a batch printing pattern). i dont think u its going to be like windows standard printing (i.e on A4 printer). have a look here for more info http://monroecs.com/posstandards.htm[^] regards.

    C# csharp help tutorial

  • Graphing in C#, Possible?
    G gnadeem

    hi Gerry, Vector/advanced graphics is supported in Framework 3.0. if you are working with 1.1/2 version of the framework, this should be helpful Charting Library regards.

    C# csharp com graphics data-structures help

  • C# Monitors [modified]
    G gnadeem

    hi there. this is what i think. to start with http://msdn2.microsoft.com/en-us/library/system.threading.monitor.exit.aspx[^] which implies that Monitor.Exit can be called on a thread , for a resource only if that thread has already acquired lock for that resource. you are calling Monitor.Exit (one out of try statements) on threads without assuring that a thread has already successfully acquired monitor on a specified resource. (i.e Monitor.TryEnter may not have been successfull). please Check the returned value from Monitor.TryEnter for both 'First' and 'Second' rountines. regards.

    C# csharp question

  • Which coding convention do you use?
    G gnadeem

    oops. i refreshed the page before responding to this..:(

    C# question

  • Which coding convention do you use?
    G gnadeem

    hi, some companies do require to follow their guidelines, while small-sized companies may not be so strict about it. in any case its imperative to stick to conventions. you may find this to start with. http://www.nonprofitways.com/standards/HEA/IDesignStandards1.pdf[^] regards.

    C# question

  • how to sent the cursor from one textbox to another textbox by pressing enter key(in vb we may use keypress event)
    G gnadeem

    adding to what Nader said, you can further fine-tune by querying TabStop and TabIndex properties of the text boxes (controls where applicable) and compare TabIndex to dynamically set focus to the control which is next in the TabIndex order. regards.

    C# tutorial career

  • How to read data from COM port (want to get remote to work)
    G gnadeem

    hi, good that u got it working. the last error u mentioned is a result of check by the runtime that a thread can access a control only if it created that control. possibly you are accessing txtInput created by 'Main' thread in some other thread. have a look at this. http://msdn2.microsoft.com/en-us/library/ms171728(VS.80).aspx[^] regards.

    C# csharp com help tutorial question

  • Please Help
    G gnadeem

    hi, i suppose this will be helpfull. http://www.codeproject.com/aspnet/CPImageGallery.asp[^] Regards.

    Database database help tutorial question

  • openFileDialog problem
    G gnadeem

    Thnx Dave ,for correction.

    C# help tutorial

  • openFileDialog problem
    G gnadeem

    hi, use Substring and LastIndexOf functions to get the required value; any string supports these methods. regards.

    C# help tutorial

  • Switch
    G gnadeem

    hi, adding to what Luc Pattyn explained, here is a remark from specification "The statement-lists of a switch-block may contain declaration statements (§15.5). The scope of a local variable or constant declared in a switch block is the switch block." please note that a statement-list has obviosly to be in a sequence and reachable.

    C# question

  • How to develop line art based program
    G gnadeem

    hi, System.Drawing.Drawing2D[^] is the namespace you need to explore. to acheive advanced functionality , obviously you will have to use mathematics formulae etc.

    C# tutorial

  • Changing Datagrid elements programmically in C#
    G gnadeem

    hi, the default name of your table in aDataSet is 'Table'. this should match with your EmployeeTableStyle.MappingName which is 'Employee'. set the aDataSet.Tables[0].TableName='Employee'. if you are not skipping any code, then add styles in following order and THEN BIND. DataGridColumnsStyle(s) --> DataGridTableStyle --> TableStyles regards

    C# csharp tutorial css wpf wcf

  • how to program the barcode reader?
    G gnadeem

    hi, any barcode reader device will read only 'valid' barcodes. a barcode is valid only if it satisfies a criteria. please look on the internet for differnet barcode standards like EAN8 (8 digits), EAN13 (13 digits), UPC-A (12 ditits),UPC-E (8?) etc. as long as its valid and readable, it will be read by any scanner and scanner will transmit data to your host just like keyboard. please note that scanners normally automatically transmit EnterKey char at end of barcode. regards.

    C# question tutorial

  • How to read a exact word in a text file using c#
    G gnadeem

    hi, http://www.codeproject.com/dotnet/RegexTutorial.asp[Reqular Expressions] may be helpfull.

    .NET (Core and Framework) csharp help tutorial question

  • cross platform application
    G gnadeem

    hi. i seems you might have to skip some content in case of PDA. have you considered using CSS/XSL to manage the content.?

    Mobile help wcf design sysadmin question

  • windows search
    G gnadeem

    hi, you can use DirectoryInfo and FileInfo Classes from System.IO namespace and do recursive search.

    C# question help

  • check file exist on different pc
    G gnadeem

    hi, you dont need the colon ':' sign after "c" and your c drive must have been shard to use above path. try again after these checks plz.

    C# help question

  • Form Closing Problem and MessageBox Independence [modified]
    G gnadeem

    Hi, are you using MDI interface style. if yes then try using ActiveMdiChild property. if not then see if your ActiveForm is not returning null reference. further if you are running this code inside form3, can you not simply call this.close(). Regards.

    C# help tutorial

  • Installing a Pocket PC application
    G gnadeem

    Hi, if you didnot have any breakthrough so far, i will suggest followings. 1) if your application is complex , i.e requires remote resources like remote db connection, then make a very simple one to start with and try followings. 2) deploy using XCopy method instead of making setup file to see if it makes a difference. 3) make sure you have selected right processor type in visual studio tools section. 4) try to debug-run the application on device rather than in emulator, using ActiveSynch and usb cable. (device instead of emulator in debug config) 5) if u cant manage 4, make sure all required components, if any (SqlCE,.Net Framework etc) are present on device compatible to the version your app supports. hope it helps.

    Mobile visual-studio com hardware help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups