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
H

hosseinghazanfary

@hosseinghazanfary
About
Posts
15
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • software....
    H hosseinghazanfary

    for beginning how to develop applications using c#,u should first of all install visual studio as your development environment.then i suggest u to watch c# tutorial videos and read articles(including this site) which can help u start building applications.visual studio express edition is free,although u can find the full version and download it through torrent files.good luck my friend. don't forget to choose best answer!

    C# csharp question learning

  • One database Connection [modified]
    H hosseinghazanfary

    i think u should create and open the connection when your windows service starts,so during the process everywhere in your code u can use that open connection.

    C# database tutorial

  • custom shaped windows forms in c# problem
    H hosseinghazanfary

    I have developed a windows application. I put a rectangle picture as a background picture for my form. In that picture, outside the rectangle, it is colored red. In my form I set that color as the transparency color so it would show only that rectangle or any other shape as a form. It works well in my own computer, but whenever I try to use it in another computer which also has the .Net framework installed there, the color does not hide and the transparency does not work. It shows both the rectangle and the background color. What should i do? the picture is saved as BMP. I'm using C# in a Visual studio. The application is written in .Net 2.0.

    C# csharp dotnet visual-studio winforms help

  • strange errror while parsing string to datetime in c#
    H hosseinghazanfary

    hi dudes,i have an application written by c#,visual studio 2008,my database file is an access db.i have a maskedtextbox that user enters the date,(short date as 1388/02/15-it's persian date),i parse the string to date,and i insert some data into my database,icluding the parsed date.furthermore i want to update or insert records which their date is between that date and a month later.so after parsing the entered string into date,i seperate its year,month and day, so i can add a day in farsi calender format.everything's going right until in the loop i reach the date which is '1388/02/30', i get an exception which says 'string was not recognized as a valid dattime'.where's the problem? why all the days has not any problem while that specific day has the problem? i traced the application and i'm sure the string that is being parsed while the exception raises,is 1388/02/30. more desc:in persian (farsi) calender,6 first monthes of the year has 31 days,and the 6 last monthes has 30 days.

    C# csharp database visual-studio json help

  • copying large tables
    H hosseinghazanfary

    thank u both of my friends for ur answer,both of the answered gave me a pointer,but how can i relate copying data to a progress bar?

    C# question database csharp

  • Text File
    H hosseinghazanfary

    if i were u and i had data like that one u brought as an example,i would simply make an access mdb file with one table with columns of Fname,Lname,... and insert and select from that file using jet 4.0 or Oledb 12,it's much easier,but the solution is our friend gave us about xml serializing is also very easy and comforting. u can select from an oledb database like this. oledbcommand oc=new oledbcommand (); oledbconnection ocon=new oledbconnection(connectionstring); oc.connection=ocon; oc.commandtext="select *from studenttable"; oledbdatareader dr=oc.executeReader();

    C# question csharp visual-studio help tutorial

  • problem with move values between two running forms
    H hosseinghazanfary

    dude i think ur trying to move a string(lable1.text) from form1 to form2,it's easy. for example u want have a button,when clicked u want to show second form. form2 f2=new form2(); ok,now goto ur form2.cs code view,in the first lines u c something like this: public form2() { initializecomponent(); } now change the arguments that form2 needs,in the code above,u c that second form doesn need anything for being instanced,change it like this: public form2(string labltext) { ... } now when u want to make an instance of the second form,pass the string in that way: form2 f2=new form2(label1.text) in second form u can access the string throw variable labltext. have fun :rose:

    C# help

  • copying large tables
    H hosseinghazanfary

    hi dudes, i want to copy a table from an access database to another table on another access database in windows application using c#,what is the best solution,i dont want my application to hang while copying the data;i've tried reading record by record by a simple oledbcommand execute way,but it would take a long time,i have a lot of records in source database,how can i do the copy by using dataset?is using dataset the best solution? how? how can i relate a progress bar to that? i've seen a class named sqlbulk which works for sql databases that copies a large amount of data between tables or databases,but my database is access.i will be thankful for those who do me a favor and give me an answer.

    C# question database csharp

  • Copying Data between 2 access databases
    H hosseinghazanfary

    dudes i found the ways to access those fields in datareader,so my last question is solved,but iv got a new problem,and that is i have a large amount of records in my database tables,so it would take a very long time for selecting and inserting into destination table row by row.how can i do that by copying the whole table at once,and insert it at once too.i might user dataset and its datatables,but it doesn't work,can anybody give me an example of filling a datatable of a dataset from connection 1,and insert that datatable into connection 2 database? thank u.

    C# question csharp database help

  • transparent colors in windows applications in c#
    H hosseinghazanfary

    hi dudes, i developed a windows application,i put a rectangle picture as a background pic for my form,in that pic out side the rectangle is collored by red.in my form i set that color as tranparency color,so it would show only that rectangle or any other shape as a form,it works well in my own computer,but whenever i try to use it in another computer which also .net framework is installed there,that color does not hide and the transparency does not work,it shows both the rectangle and the backgroung color,what should i do? i'm using C# in visual studio.that application is written in .net framework 2.0, thank u all for ur help.

    C# csharp dotnet visual-studio help question

  • Copying Data between 2 access databases
    H hosseinghazanfary

    thank u all especialy u pieballconsult for ur solution,the table exists in the destination table,and one more quenstion,when i executereader my select statement for reading from the source table,how can i access each column that is being returned to set it as an parameter for the insert statement?

    C# question csharp database help

  • Copying Data between 2 access databases
    H hosseinghazanfary

    hi dudes, i want to copy a table from an access database to another table on another access database in windows application using c#,what is the best solution,i dont want my application to hang while copying the data,i will be thankful. and how can i make a progress bar and relate it to this copy so it will show how much further is needed to be done.u would solve a big problem of mine by answering me,thank u all.

    C# question csharp database help

  • Deploying C# projects into single exe file
    H hosseinghazanfary

    tnx for the replies dudes,now i have another problem,i have the single exe appllcation,but i only runs where the OS has dotnet framework 2.0,i want my application to run in any computer that has windows xp or vista.without no need to install dotnet framework.i will be thankfull if u have any idea.

    C# csharp help question database dotnet

  • Deploying C# projects into single exe file
    H hosseinghazanfary

    hi dudes, i have a c# solution(windows application),when i want to deploy my project,it gathers all the application resources and needed files into one exe file named setup.exe,but the problem is that i dont want to install my application on the destination computer,i just want to run it quickly without installation,and the .net framework is already installed on the destination computer .how can i make one single exe file executable on the destination system?i dont have any problem if i have to seprate it from needed files like my access database. i will be thankful if any of u guys can help me.

    C# csharp help question database dotnet

  • Crystal Report at User's Computer
    H hosseinghazanfary

    hi dude,i cant exactly tell u what to do,but i think u should install that version of crystal which is required during setting up ur application.i think u can do it by INSTALLSHIELD ,hope that'll help. good luck

    C# 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