c-sharp

  1. M

    Reading the text file and calling from menu

    HI Friends, I am trying to call the windows forms through menu strip. In menu strip items i have written the following code which reads a text file "rep_path.txt". the text file contains only line d:\\reports\\ private void SALEPRODToolStripMenuItem_Click(object sender, EventArgs e) {...
  2. M

    Problem in calling crystal report using selection formula with dates

    Hi I am trying to call crystal report from c# using a button click. In the form I have two datetimepicker controls named DT1 , DT2. I have used the following code in button. crpt is the crystal report conrtrol. pur_ord_vw is the view in database. UserId = "sa"; Password = "gms123"...
  3. R

    Can Serial.Open() report open yet delay the actual opening?

    I've got a strange problem on one PC. My application uses the code below to open the port. For some reason the program doesn't report any problems but my writes report the port not open several times then I see a port open message just before the application locks up. It's fine on my production...
  4. H

    Question How to debug application after an exception error?

    I wrote a C# application (.NET 4 Client Profile) which runs under Win64. Basically it works but from time to time I get an exception error message and the application crashes after I pressed OK to the exception window. The main problem is that it is difficult to locate problem in respect to my...
  5. R

    win form application does not run on another machine

    hi i have a win form application written c# in Visual Studio 2017. it's a simple client registration form with Linq to SQL that uses a .mdf database file stored in the \bin\debug folder. while running the application on my own machine there is no problem, and it runs fine. but when i create a...
  6. S

    Question Text file search, combobox and Datagridview

    I have the following on a Winform: - Button - to open *.txt file, code already done and works - Combo Box - Display the dates found - Datagridview - show information for the date selected What code I have so far is: private void Historybutton_Click(object sender, EventArgs e) {...
  7. D

    Question How do I map oracle UDT to C# custom type

    I am trying to map a simple Oracle UDT in my c# application. When I try to extract data from DataReader, it throws the following exception: Custom type mapping for 'dataSource='DB' schemaName='C##USER' typeName='MATICNIBROJ_T'' is not specified or is invalid My Oracle UDT is: create or...
  8. MediaHub

    Question How call methods from child window of another Form( Not a Child/Parent Window)

    In My Projects i Have 3 Forms: Form1: MDIParent Form2: MDIChild Form3: Normal Form i want to access data and call methods of Form3 from Child Window. I am new to C# can any one solve my problem.
  9. E

    Question Is It Possible to Access iPhone's Camera Directly to WinForm

    Hello and Good Day Everyone, i am not a Professional [C#] Programmer in anyway, this is my first job as a Software Engineer to be honest as i am a fresh graduate (Just a quick background about me) and i've been in this industry for only about 3 Months now my current project's objective is to...
  10. C

    Question C# good for my project? Why?

    Hi there I am tasked in writing a file manager program that will be hosted on a server and accessed by a browser. So my question is if C# would be the ideal too for this project. More precisely what it should do will be listed here. 1. Run as a console server on the Server machine. 2. Serves...
  11. C

    Question How to generate CR reports when some fields are unknown?

    Hi all - I have a question regarding generating reports from a data table using C# in VS. On a windows form, the user has a datagridview control filled with various accounting items as column headings (rate, credit card, discount, etc.) Now, there are about a dozen or so columns that are...
  12. J

    Question gap fill question

    Hi! I am creating a testing program. I would like to make a question type like a gap fill exercise, like this, Adit Testdesk Feature Tour - Gap Fill Question | Adit Software What are your ideas of making this?
Top Bottom