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
Z

zoroyster

@zoroyster
About
Posts
16
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Cannot Load ResXFileCodeGenerator and SettingsSingleFileGenerator
    Z zoroyster

    Hi I created a C# Application about 2 months ago. Haven't really touched done anything to it, other than moving the folder. I re-opened it today and got these warnings.. Warning 1 The custom tool 'ResXFileCodeGenerator' failed while processing the file 'Properties\Resources.resx'. Warning 2 The custom tool 'SettingsSingleFileGenerator' failed while processing the file 'Properties\Settings.settings'. Warning 3 The custom tool 'SettingsSingleFileGenerator' failed while processing the file 'Properties\Settings.settings'. They're just warnings, but unfortunately all the Forms and .cs files in my project cannot be opened, and i receive this error message "The project ______ does not exist in the current directory. It may have been moved, or deleted" I have no idea why i got this message, I haven't really removed anything from the project folder. I always move the filed from my laptop-USB thumbdrive-pc, and it always works. Can anyone help me out? Thanks in advance.

    C# help csharp question

  • Getting The Difference Between Months
    Z zoroyster

    Hi harini. Thanks for the reply. Ive read the link, but it doesn't mention anything about getting the difference between two dates in months :c Hope you have other references.. tnx!

    C# csharp help

  • Getting The Difference Between Months
    Z zoroyster

    Hi, Im trying to create a C# program that will compute the exact number of months between two durations. This is my code TimeSpan duration = startTime - stopTime; //to compute the difference between days, I use this code int result = (duration.Days); unfortunately it stops with duration.Days.. there are no available methods that will compute the months or years (eg. duration.Months , duration.Years) i tried to compute the days and divide it by 30, but this approach is highly innacurate. Hope you guys can help tnx

    C# csharp help

  • Wildcard Query using C# and Access
    Z zoroyster

    Hi, I'm attempting to perform a wild card query using C# and microsoft access. The results will be placed in a data grid. Ive tried using "*" ,"#" and "?" symbols but it still wont work heres my query statement.. daGuests = new OleDbDataAdapter(string.Format("SELECT * FROM Assignee WHERE SN = '*{0}*'", search), conn); daGuests is my data adapter search is a string taken from a textbox.. is there something wrong with my code? im pretty sure theres nothing wrong with my other codes, the daGuests = new OleDbDataAdapter(string.Format("SELECT * FROM Assignee WHERE SN = '{0}'", search), conn); statement works perfectly. Hope you guys can help.

    C# csharp css database help question

  • C# connection to Lotus Approach
    Z zoroyster

    Hi guys. Anyone know the connection strings to connect C# application to Lotus Approach databases? (or id this is even possible?) tnx. -zoroyster

    C# csharp question

  • A simple form sizing problem
    Z zoroyster

    got it. thanks! :-D

    C# question csharp help

  • A simple form sizing problem
    Z zoroyster

    Hello How do i modify my C# form in such a way that every time I run it, it will automatically maximize and fit the screen? thanks in advance :-D

    C# question csharp help

  • Counting the Number of Working Days
    Z zoroyster

    i knew it wasn't going to be that easy.. haha thanks for the help CPallini. :P

    C# csharp tutorial question

  • Counting the Number of Working Days
    Z zoroyster

    Hi I'm creating a C# program to measure differences between dates. Ive figured out how to measure the difference between two dates using DateTime and TimeSpan, but is there any short cut way on how I will be able to measure the time elapsed with just weekdays? (meaning saturday and sunday will no longer be counted when measuring the difference) thanks

    C# csharp tutorial question

  • unrecognized zeros in C# string format
    Z zoroyster

    Hi. I have an auto-increment database field with 5 digits. (example. "00001", "00002", "00003") But every time i query it using C#, and place it in text boxes or in labels, it always removes the zeros, so I always end up with just "1", "2", "3", etc. I'm currently using microsoft access 2003. The error also occurred when I used mySQL. Anyone know how to set form objects to recognize the zeros in the values? Thanks in advance.

    C# database tutorial csharp mysql help

  • Date Measurements in C#
    Z zoroyster

    Colin Angus Mackay wrote:

    See the documentation for the DateTime and TimeSpan classes

    tnx! :-D

    C# tutorial csharp

  • Date Measurements in C#
    Z zoroyster

    Hi, i'm creating a C# program that measures date differences. for example i have 2 text boxes, one text box contains the date 4/12/2007, the other text box contains 5/23/2008. I need to count the number of days difference from 4/12/2007 to 5/23/2008. Im sorta new to C# and i have no idea how to do this, since i cant just treat it as simple numerical values, given that it must reference the calendar for the measurements to be exact. thanks in adavance..

    C# tutorial csharp

  • How to Clear Contents of a NotePad Textfile
    Z zoroyster

    xibeifeijian ,code works perfectly! thanks alot xibeifeijian and Keshav!!

    C# question csharp tutorial

  • How to Clear Contents of a NotePad Textfile
    Z zoroyster

    Hi. This is sorta no brainer question for some of you, but does anyone know the C# codes to clear all contents of a certain notepad file? thanks a bunch

    C# question csharp tutorial

  • Reading a specific word/phrase from a line
    Z zoroyster

    Patrick Sears wrote:

    If you can rely on a standard line format, it's pretty easy: string line = "Name: Joseph Smith"; string[] parts = string.split(line, ":"); Then the parts[] array will contain the following strings: parts[0] = "Name" parts[1] = " Joseph Smith" Note the space before Joseph. You could use string.Trim() to get rid of that, or you can modify the split to use StringSplitOptions.RemoveEmptyEntries. I'm assuming you're using C#, here. ------------ Cheers, Patrick

    Hi Patrick! thanks for the help. Yes, im using C#, but i received this error "Error 1 'string' does not contain a definition for 'split'" for string[] parts = string**.split**(line, ":"); do i need to import something? thanks again

    C# tutorial csharp help

  • Reading a specific word/phrase from a line
    Z zoroyster

    Hi Not sure if this was already asked, but I'm trying to find a way to get a certain text (or phrase) from a line in notepad using C# example: (notepad) >Name: Joseph Smith >Address: Main Street I need to get name (Joseph Smith) and the address only, ignoring the "name:" and "address:" so far i only know how to read the entire line, but i have no idea how in the world i can isolate the desired text/phrase Hope you guys can help. Thanks

    C# tutorial csharp help
  • Login

  • Don't have an account? Register

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