CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: LisaWvL

Page 1 of 3 1 2 3

Search: Search took 0.05 seconds.

  1. Replies
    1
    Views
    794

    Open exe from Contextmenu with args

    Hello yet again :D

    A new "problem" showed up.

    I'm looking for a way to include my console application exe into an existing project. What I want is to rightclick a .cs file in my solution, find...
  2. Replies
    12
    Views
    7,178

    Re: Help! StreamReader read one line up

    Hey, so i read up on Reflection and it´s looking pretty good so far :)
    Unfortunately there is one method I can't find or are too fuzzy by now to identify as the one I need :D
    I need to find out...
  3. Replies
    12
    Views
    7,178

    Re: Help! StreamReader read one line up

    that would be someting completely new for me to get into. I thought i could make it easier.
    my end goal is, to read the customer.cs file and auto generate mappers, .js model files etc. depending on...
  4. Replies
    12
    Views
    7,178

    Re: Help! StreamReader read one line up

    No reply now? D:
    I was wondering if i can start 2 parallel readers, and one of them stores the line above an occuring "{" but I don't know how to accomplish that.
    Any ideas?
  5. Replies
    12
    Views
    7,178

    Re: Help! StreamReader read one line up

    attached in post #3 customer.cs
  6. Replies
    12
    Views
    7,178

    Re: Help! StreamReader read one line up

    put it in a try catch now, see attachment.
    exception type of InvalidOperationException says "Sequence does not contain any elements"
  7. Replies
    12
    Views
    7,178

    Re: Help! StreamReader read one line up

    Oh and ofc this is the line where the erros occurs




    //add the line above the opened scope as line to the scope
    ScopeBlock.Add(File.ReadLines(path).Take(lineNumber-1).First());


    it was...
  8. Replies
    12
    Views
    7,178

    Re: Help! StreamReader read one line up

    I just wanted to focus on the part where I'm trying to access the line above the "{" :) but alright, here´s the two main methods for reading and writing



    public void Read(string path)
    ...
  9. Replies
    12
    Views
    7,178

    Help! StreamReader read one line up

    Hi there,
    I'm working on a parser/scaffolding proggy to insert a .cs File and automatically read out all the scopes (new namespace, new class, new methos, attributes, fields, constructor etc.) and...
  10. Replies
    0
    Views
    3,239

    Scaffolding? C# Parser, auto Mapper

    Hello everyone,
    I'm working on a little project and I hope to get some input from y'all :)
    The end result is supposed to be a (hopefully very flexible) C# Parser.
    Basically I want to pass a .cs...
  11. Re: HELP! Update first value in database where ID = .. then second value where ID = .

    sounds like a long query but might not just be one option, so far it´s my only option..
    if ur bored and wanna help me coding, feel free :D
    maybe something rough to build on, i´m pretty new to...
  12. Re: HELP! Update first value in database where ID = .. then second value where ID = .

    ok, just checked with my boss.. he simply doesn´t WANT me to do it with the deleting and recreating -.-
    d a m n just got that one working
  13. Re: HELP! Update first value in database where ID = .. then second value where ID = .

    I have that field. I have the basic ID field, that is the PK and set to autoincrement, so it´s unique for each record. and i have the REF_ID field, which references to the recipe the ingredients...
  14. HELP! Update first value in database where ID = .. then second value where ID = ...

    Hi There

    i´m having problems with my Update Query.
    It´s quite a big thin.
    The first half of the code happens, when the record doesn´t exist, yet.
    When the record exists, i want it to be...
  15. Replies
    7
    Views
    1,426

    Re: Ideas? for loop with List of Objects

    Culd you tell me a little more about composition? just the basics, i tried to find something about it, but all the articles i get are to specific and detailed to grasp the basic.
    as the poster above...
  16. Replies
    7
    Views
    1,426

    Re: Ideas? for loop with List of Objects

    My List is no List<> it is a selfwritten List class. And now i have to implement the methods for deleting, updating and selecting records from that list (by index)
    here the whole Rezeptliste class...
  17. Replies
    7
    Views
    1,426

    Ideas? for loop with List of Objects

    Hi there,

    i´m still writing my cookbook :D
    at the time i´m trying to handle my Lists.
    Whenever i create a new recipe, it is put into a List (typeof Rezept) so it´s s strongly typed list. ...
  18. Re: HELP Please! need to save instances of objects in generic list

    my boss is no teacher but a boss :D
    right now i have 3 tables, and i store all the information in them and reference them by id. but i shal try go get this working just "inside" my program, without...
  19. HELP Please! need to save instances of objects in generic list

    Hi there,
    i´m writing a cookbook at the moment and my boss has some special wished on how i have to code it.
    what i´m supposed to do is:
    generate a class of a list of custom objects (in my...
  20. Replies
    1
    Views
    972

    Re: Need Help with JOIN Query! (4 tables)

    Hi, thx for ur answer.

    i read alot about querys. and i still think my querys are correct but my tables are kind of wrong..
    i think i build 1-n tables, not m-n tables.
    i reduced my project on...
  21. Save and retrieve Custom object from MS SQL database

    Hi there,

    i could really need some help.

    with help of serializing my custom Class Zutaten ( ingredients) i was able to store it in my database in the varbinary(max) column ad byte[].
    i´m...
  22. Replies
    2
    Views
    889

    Re: many to many tables

    a recipe can have many categories.
    e.g.
    mexican, vegetarian, supper
    or
    french, with meat, snack

    like that.
  23. Replies
    2
    Views
    889

    many to many tables

    Hi,

    i need some help creating my tables.
    I´m writing a cookbook.
    for now i have 4 tables.

    First table: Recipetable

    Columns:
    RecipeID, int, primary key
  24. Re: Help Please! Connecting Classes without inheritance. Using VS2010 C#

    there wasn&#180;t much code to share, i just forgot to create a new instance of my object

    Rezept rezept = new Rezept();

    so just for you, here my new code :)



    namespace Kochbuch
    {
  25. Replies
    1
    Views
    972

    Need Help with JOIN Query! (4 tables)

    Hi There,

    I got 4 tables (see attached)
    one stores basic recipe information for a cooking recipe, second stores information about each ingredients every recipe has, third stores the categorys...
Results 1 to 25 of 60
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured