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
D

DavidKiryazi

@DavidKiryazi
About
Posts
9
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Productivity to a grinding hault
    D DavidKiryazi

    Thanks for response Eddy.

    Eddy Vluggen wrote:

    How about a lot of small applications, calling them prototypes and have an intern make some nice OO code of it in their own pace?

    The only problem is that I am somewhat of an intern lol :) I guess I am trying to develop my skills in the right direction, rather than developing bad habits and having to break out of them late (which is always harder). I will play around with some prototyping of smaller applications and maybe post some results of what I have acheived. Dave

    Design and Architecture help csharp design tools oop

  • Productivity to a grinding hault
    D DavidKiryazi

    thanks for response Alegria. I haven't read any books about design patterns. I have mentioned it to a couple of work colleagues but they insist that the best way to learn is just to write code. I disagree because I guess my opinion is that if you learn to write bad code, then it will be harder to change your ways later on. I guess I might need to read a good book on object oriented design and design patterns. I know the GOF is a must, but apart from that is there any you can recommend to get me up and going? Basically I need something that teaches me OOD that does not use the simple examples like Cars. I am also considering the purchase of Code Complete 2 and I have stated reading "The Pragmatic Programmer" Dave

    Design and Architecture help csharp design tools oop

  • Productivity to a grinding hault
    D DavidKiryazi

    Hi everyone, I have been developing C# applications for about a year now and I am starting to grasp the more advanced topics. The problem is, I know enough about the C# language to write code for ADO.NET and other technologies, but not skilled enough to write code adhering to design patterns and encapsulation (i.e all my code is written in codebehind in my form class). I am now stuck in a bind because I don't want to write code in code behind, since I have been reading it is hard to maintain, etc, etc but I am not yet good enough to properly setup inheritence and good design in my code base! Is it ok to develop a large application all in code behind and then try to refactor it out later? I am just completely stuck! Any help appreciated :) Dave

    Design and Architecture help csharp design tools oop

  • Print Barcode
    D DavidKiryazi

    Thanks for insight :) I will not recommend the storage of barcodes as images anymore lol :) Also I was talking about article numbers when I was refering to registration, I was guessing the OP was gonna be using some form of article number for unique barcodes. I will have to research more for the POS system I am trying to build. Dave

    C# design help

  • Printer Settings
    D DavidKiryazi

    There is a PrinterSettings class in C# you need to look harder :P http://msdn.microsoft.com/en-us/library/system.drawing.printing.printersettings.aspx[^] Dave

    C# csharp tutorial question

  • Print Barcode
    D DavidKiryazi

    Samulong, I assume you are going to be trying to design this in C# and i'm assuming that you have registered with the appropriate body to print these barcodes, am I right in these assumptions? I haven't actually done much with page layout / printing in C# but if I had to do it, I would guess it is possible to set it up as a report and store the barcodes in the database as images. You can then dynamically populate the report with barcode images and use C# to render the report and print it. You might want to wait for someone with more experience as there is probably a better way. However, the reason for my post is, normally some label printers (eg Brother) have dll's included that work with the .NET framework and you can print the label directly from your program to the printer. This will make it easier for you or your client, since the barcodes will all come out chopped and ready, rather then having to peel them off an A4 piece of paper. Another advantage is that you don't have to waste time coding page layouts, the dll already has functions and the paper size you choose will be what gets printed. Dave

    C# design help

  • Zooming picturebox not updating
    D DavidKiryazi

    Hi, I tried your code on my machine .Net 2.0 vs2005 and it seems to work fine. I added a line that refreshes the form so maybe try this and see if the results are any different.

    private void button1_Click(object sender, EventArgs e)
    {
    for (int j = 0; j < 5; j++)
    {
    zoomOutPicture((j + 1) * 10);
    this.Refresh(); // <---- line added that references the form with the picture box on it
    System.Threading.Thread.Sleep(1000);
    }
    }

    Dave

    C# help graphics algorithms

  • how can I get data from database and display in textbox
    D DavidKiryazi

    Ademola, can you post the latest code your using. It is difficult to diagnose the problem without the code you are currently trying to run. In the meantime, try to initialise your connection string using the connection string builder to rule out any typos in connection string.

    // create the connection string
    SqlConnectionStringBuilder conn_str = new SqlConnectionStringBuilder();
    conn_str.UserID = "your user_id";
    conn_str.Password = "your password";
    conn_str.InitialCatalog = "database name";
    conn_str.DataSource = "sql server instance name";
    conn_str.ConnectTimeout = "connection timeout (as an int)";

    // instantiate and initialise the sql connection object
    SqlConnection conn = new SqlConnection(conn_str.ConnectionString);

    Also, make sure you rule out any accidently brain explosions, ie make sure datatable actually has data in it, your connecting to the right database, etc Dave

    C# database help csharp sql-server sysadmin

  • FTP server [modified]
    D DavidKiryazi

    Consult http://learn.iis.net/[^] for information regarding how to setup a secure FTP server and general IIS help. In future you might want to consider posting your questions in the right forum / website so people don't get angry :P Dave

    C# sharepoint sysadmin windows-admin 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