185 Discussion / Question Topics

Remove Filter
Member Avatar for zachattack05

Ok...I spent hours (I know, probably something you pros know already) trying to figure this out. I finally did and thought I would share it with others considering I found nothing (literally) out there on this. Feedback would be much appreciated! Most of the time string data written to a …

Member Avatar for zachattack05
0
676
Member Avatar for zachattack05

I have a project that can potentially use a SQL server as a host for it's data. When a user starts the application for the first time, a wizard walks them through selecting how to store their data. If a user selects the SQL option and indicates that the database …

Member Avatar for zachattack05
0
96
Member Avatar for zachattack05

Maybe this is more of a "how do you report progress" topic. I have a progress bar on a form. The same form launches 2 separate threads. I would like each thread to report to the same progress bar. Instead of cluttering my code up with a bunch of stuff …

Member Avatar for edepperson
0
581
Member Avatar for zachattack05

I have been reading through a rather lengthy Microsoft document regarding UX (User eXperience) design and standards. There are many great suggestions that I have started to adopt. But something occurred to me last night while working on my solution and I wanted to solicit some ideas and possibly have …

Member Avatar for Diamonddrake
0
108
Member Avatar for zachattack05

Having a problem here...not sure if it's something simple or not. I'll be honest, threading is new to me so I'm not quite sure what the problem is here. Let me explain the problem first and then I'll post some code. I have a method that runs in a wizard …

Member Avatar for zachattack05
0
165
Member Avatar for zachattack05

I am adding a feature to my application that allows users to backup an entire SQL database, as well as include application settings with that backup file. My dilemma is choosing a good file extension to use. The over-used .bkp type could cause conflicts in systems that have applications that …

Member Avatar for zachattack05
0
92
Member Avatar for zachattack05

Has anyone tried this? My general dilemma is having to open and maintain multiple connections across multiple forms. I have an MDI application and I would prefer to store the connection in the parent form and just have the child forms use that connection if it needs it. This normally …

Member Avatar for zachattack05
0
117
Member Avatar for zachattack05

I was wondering...has anyone ever written an application that interacts with a device that is NOT inside of the computer? Like a photocopier, scanner, etc...? If so, does anyone know where I can find, or figure out, what type of communication protocol is required to talk to and use a …

0
62
Member Avatar for zachattack05

For the past few hours I have been pouring through hundreds of internet articles, blogs and posts in various forums regarding interfaces. I get a general idea that it is basically a class with no implementation at all...a "skeleton" if you will. I was hoping for an a-ha! moment that …

Member Avatar for embooglement
0
168
Member Avatar for zachattack05

I've been trying to figure this one out. I was under the impression that when a class method contains any resources, once the method has reached the end of the code and returns it's result (or nothing in the case of void), that all of those resources are gobbled up …

Member Avatar for zachattack05
0
661
Member Avatar for zachattack05

I have been reading through many blogs, the MSDN website, and Google search results trying to figure this out... At what point, or in what situations would someone ever want to have multiple projects under one solution? I have thought about having a project that contains forms and some "core" …

Member Avatar for zachattack05
0
94
Member Avatar for zachattack05

I am working on a software project that utilizes the MSSQL Express version. My question is... I have checked out software that does the same thing that I want to do, but it seems that the competition uses a file based database system. I intend to use SQL because it …

Member Avatar for zachattack05
0
107
Member Avatar for zachattack05

Hi! I was wondering if anyone knew a way to have a date/time picker only allow the selection of months/years? Like January, 2010...etc and not the specific day of the week? Kinda like the attached image.

Member Avatar for zachattack05
0
87
Member Avatar for zachattack05

Does anyone have any suggestions for a site that hosts bug tracking? Preferably free, and one that doesn't ask for phone numbers? I'd like to have something that is hosted online so that users can submit bugs. And also so that I can track them anywhere I decide to work …

Member Avatar for Z_KiNGPiN
0
54
Member Avatar for zachattack05

I'm getting to a point in my project where functionality can be based on the needs of individual users. As part of my application I would like to have the ability to add and remove functionality based on the user. I figure plug-ins might be the way to go for …

Member Avatar for zachattack05
0
109
Member Avatar for zachattack05

I have a timer that runs a SQL query every 30 seconds to retrieve updated information. Unfortunately every time the query runs the vertical scroll bar resets to the top most part of the form. I tried [CODE=c#] int scrollPosition = this.VerticalScroll.Value; [/CODE] at the beginning of the timer code …

Member Avatar for zachattack05
0
4K
Member Avatar for zachattack05

All parenting jokes aside, I have a general purpose status strip on my parent form that contains a progress bar and a few labels. Occasionally a child form will execute a command that could be tracked on the status bar so my users don't think that the program is hanging... …

Member Avatar for zachattack05
0
85
Member Avatar for zachattack05

I have a form that has multiple text boxes, check boxes etc... The question is, instead of writing out: [CODE=c#] cmd.Parameters.Add(new SqlParameter("@myparam", (object)textbox.Text));[/CODE] a million times for each parameter, is it possible to load all of the names of the objects on a form into an array and just do …

Member Avatar for zachattack05
0
154
Member Avatar for zachattack05

Does anyone use it? Seems kind of scary to me the thought that I would allow a mysterious command to alter data in my tables. Is it better to write your own update strings and execute them or use the command builder? Does it matter? Edit: PS the new site …

Member Avatar for finito
0
108
Member Avatar for zachattack05

I have been working on a form that reads records from a SQL database. I have the binding working in that it populates all of the fields with the correct data. But if I am viewing record 1 and record 2 changes while I'm looking at 1, then browse to …

Member Avatar for zachattack05
0
128
Member Avatar for zachattack05

Can you do that? I can't seem to get it to work. [CODE=C#] lblfiledate.DataBindings.Add("Text", bindsrc, "filedate"); [/CODE] Doesn't work.

Member Avatar for zachattack05
0
73
Member Avatar for zachattack05

I think it would be nice if we had forums for people to contribute tutorials that they have written. Searching through the forums doesn't always result in a complete picture of a problem a particular person may be having. Tutorials might help a lot! Any thoughts?

Member Avatar for zachattack05
0
77
Member Avatar for zachattack05

Anyone have any good links to tutorials for printing with C#? I need to mimic a form that we have. It's a rather complex form, so if you know of a tutorial that is better than just printing rows and columns of data would be greatly appreciative!

Member Avatar for zachattack05
0
169
Member Avatar for zachattack05

Thanks to you guys I have been able to get my first application halfway going. But I have a question about data integrity. The application that I am developing utilizes a single sql server and multiple work stations accessing that sql server. What is the best way to maintain data …

Member Avatar for zachattack05
0
98
Member Avatar for zachattack05

I'm lost. I've been trying to do this for a while now and I can get halfway what I need. But I can't tell if it's working or not, or where my problem is. I don't want to use the wizard in VS to add a data source, I'd like …

Member Avatar for zachattack05
0
113
Member Avatar for zachattack05

Good evening! I was hoping someone could help me here. I've been teaching myself C# for quite a while now, and I'm working on a project and have run into a problem. I would like to use the binding navigator control to allow my users to browse through various tables, …

Member Avatar for zachattack05
0
622
Member Avatar for zachattack05

I've been having problems figuring out a way to do this. I need it so that if the user opens form a and then later on buries that form under others, and they click the menu to open the form again that it just sets focus to it instead of …

Member Avatar for zachattack05
0
3K
Member Avatar for zachattack05

It's been a while since I've posted. Things have been going well for my project, but I'm coming back to the issue of setting up a SQL server on my user's computers. Sknake was kind enough to give me the command line switches to get a MSSQL install set up …

Member Avatar for zachattack05
0
172
Member Avatar for zachattack05

OK before I fumble around any more and end up needing to change everything again...I was wondering if someone would be kind enough to have a discussion with me about a networked solution. Right now what I have is an Access database with forms that manage the data...this is great, …

Member Avatar for zachattack05
0
401
Member Avatar for zachattack05

Sorry to keep asking so many questions, but you guys always seem to be so nice and helpful... I need a way to verify that a database file is in a somewhat stable state...stable as in it has all of the correct tables, and each table has all of the …

Member Avatar for zachattack05
0
135
Member Avatar for zachattack05

Would anyone have the heart to post some example code to create an empty table? My code doesn't seem to work, it says the data type "int" in invalid...here's what I have: [CODE=C#] if (File.Exists(ExecutablePath + "\\idcc_data\\_IDCC.sdf") == true) { SqlCeCommand cmd; SqlCeConnection connection = new SqlCeConnection("DataSource=" + ExecutablePath + …

Member Avatar for zachattack05
0
2K
Member Avatar for zachattack05

Hi! I'm new to the site! I've been searching for help on Google for a while and keep getting results that point to this site, so I figured I should jump on. I'm new to C#. I've been programming in VBA in MS Access for a while now and have …

Member Avatar for drifai
1
864
Member Avatar for zachattack05

As I am working on my first application the thought occured to me: 1) Are "plug-ins" a common thing for applications to support? As in..."copy this .dll (or whatever) to this folder and bam! you get more features!" 2) How do most people handle updates? Replace the entire executable or …

Member Avatar for zachattack05
0
133
Member Avatar for zachattack05

I think I may have my problem corrected, but it occured to me that this might be a bigger problem than I originally thought. I am working on an application that is going to use a .sdf database file to store data. I noticed that while I was at work …

0
49
Member Avatar for zachattack05

I was wondering if someone could give me a quick hand with this. I have a text box that a user types a directory location in. Obviously the directory path includes at least one "\" character and could contain many more. Because the slash is the escape character and I …

Member Avatar for zachattack05
0
96

The End.