288 Discussion / Question Topics
Remove Filter Hey everyone, I have an application I'm writing (that a few of you have given me a good bit of help on) that will be used to check out assets and check them back in. It's working pretty great for items that are checked out *today* but I need a … | |
Hey everyone, I'm having an issue where my application will keep Excel running even after it closes. I think I'm closing everything properly, but is there a way to check on close? Here's part of my code: [code=c#] ////////////// Part of ExcelWriter class public void CreateSheet(Laptop lptp, string file, string … | |
Hey everyone, I have a warning message in my app saying "Unreachable code detected" - Here's a snippet: [code=c#] //Files are sometimes not closed quickly enough - these loop variables allow for the system to wait and try again const int MAX_TRIES = 3; int loop = 0; ... public … | |
How can I specify which sheet I want to write to by name? For example, I want to specify that the sheet I should be modifying should be labeled "212". Also, perhaps a more challenging question. How can I ensure that the sheets I create are always in alphabetical order? … | |
Hey everyone, For logging purposes, I want to pass an entire row of my DB to a file. Is there an easy way to store a row of items into an array or something similar that I could pass to a function for parsing? e.g., array = SELECT * FROM … | |
Hey everyone, I have an excel file I'm trying to work with. I can open it, write to it, and save it fine. But now I'm trying to work with adding sheets, and modifying the names of those sheets. For some reason though, my app keeps locking my excel files. … | |
Hey everyone, Does anyone know how to specify which sheet you're going to be modifying in an exel worksheet? For example, if I have an Excel file that has 5 sheets, and I want to modify (4,7) on sheet 3, how would I do that? Here's what I have so … | |
Hey everyone, I have a label that gets data from a database and uses that as the .Text field. I want to compare this .Text field with an integer value, but I can't convert the text. The value I'm trying to convert to integer is "25,000". Here's what I've tried: … | |
Hey everyone, I'm not sure where I should be posting this - if a mod finds a more appropriate form, feel free to move it. I'm trying to figure out how to not only require .Net 4.0 with my installation package, but in the case 4.0 isn't installed already have … | |
Hey everyone, I've attached a screenshot of what I'm experiencing. I've selected the fields I want to view in my DataGridView several times, but (seemingly with no pattern) my application will reset the DataGridView to show every field in my database. Attached is a screenshot of what fields I want, … | |
What am I missing here: [code=c#]if (textBox_End_Miles.Text != "" && Convert.ToInt32(textBox_End_Miles.Text) > Convert.ToInt32(label_Start_Miles1.Text))[/code] I keep getting a runtime error any time I modify the textbox. | |
Hey Everyone, I'm trying to have a form autosize when a user clicks on a Link Label. When the Link Label is clicked, I want the form to expand slightly, and show a tab control that I've created. I can't figure out how to use the this.autosize feature correctly for … | |
Hey guys, I have some overloaded functions that I want to get out of my main form.cs - is there an easy way to do this? I know in C++ you can just #include somefile.h and whatnot, but I can't find a way to do this using C#? Basically, all … | |
Hey guys, Is there any way to call the click event of a linklabel? E.g., I have a form that should call linkLabel_refresh_LinkClicked when it closes. Is that possible? Thanks | |
Hey guys, I have a splash screen I'm loading here: [code=c#] private void main_Form_Load(object sender, EventArgs e) { //Load Splash Screen this.Hide(); Form_Splash form_Splash = new Form_Splash(); form_Splash.Owner = this; form_Splash.Show(); System.Threading.Thread.Sleep(3000); form_Splash.progressBar_splash.Value = 10; form_Splash.label_Process.Text = "Checking Authentication..."; System.Threading.Thread.Sleep(2000); // Create the context for the principal object. PrincipalContext ctx … | |
Hey Guys, I'm connecting to an SQL server and updating some fields. This works: [code=c#]cmd = new SqlCommand("UPDATE Laptops SET Checkout_Date = '" + form_CheckOut.checkout + "' WHERE name='pen-laptop1'", conn); cmd.ExecuteNonQuery(); [/code] But this one doesn't: [code=c#] cmd = new SqlCommand("UPDATE Laptops SET " + " isCheckedOut = 0" + … | |
I've noticed a lot of complaints about the new layout of DaniWeb. Even I bickered when I started coming back recently. I just wanted to say that I'm starting to really like the new layout and features. Specifically I like how speedy the page loads are, the floating menus at … ![]() | |
Hey guys, I just came back to ask a question after a month or so of not being here. It took me some time to find the "New Post" button at the bottom of the page - honestly, I almost gave up and went to a different site. Could be … | |
I have a datagrid showing my items - I want to modify a field in the database when the user clicks a button. So if row 3 is selected, I want to modify "SomeField" in Row3 to True. Is there an easy way to accomplish that? | |
Hey Guys, I have a tabpage on my form, and I want to populate it according to which fields are set in a database. For example, I want tab#1 to list database fields of all items that have a particular field set to True. I want tab#2 to list the … | |
I may be overlooking something here. I can't find a way to skip to page 2,3,4,etc. of threads I'm posting in until scrolling to the bottom. Would it be a bad thing to have the page links at both the top and bottom of the thread you're posting in? | |
Hey Guys, Here's my code - for some reason, the message boxes aren't showing when I run the application. However, it shows up fine when I click the button on the form. Any idea why this would happen? Thanks. [CODE=c#]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using … | |
Hey Guys, I'm creating an application that will require specific privileges. Users will eventually be add/removed from this group; I was wondering if there's a way I can tie in an Active Directory group to the software? Something that would let me say "if you're part of this group you … | |
One feature I love about other user-help forums is the ability to mark a specific post as the answer to the thread, and then have that post displayed directly under the original post. Yahoo, spiceworks, and MSDN(i think) sites use this feature a lot, and it makes finding solutions to … | |
Hey everyone, I'm using C# ASP.NET and am trying to bind a field in my SQL database to a label. I have a combo box working OK with my database right now, and I want the label to change when the combo box changes. Could someone give me a hand? … | |
Hey guys, I'm trying to run this code [code=c++] // Copyright (C) 2001-2003 // William E. Kempf // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/thread/thread.hpp> #include <iostream> void helloworld() { std::cout << "Hello World!" << std::endl; } … | |
Hey guys, i have this project that, when i compile, 11 of the header files cannot be opened. I have no clue why - i've never seen this type of error. The project is much to large to copy/paste here, but does anyone have an idea of what would cause … | |
Hey Guys, I have a header file I downloaded for an application (actually about 20 header files). Most of them can be opened fine, but I get errors on a couple that say: [QUOTE]fatal error C1083: Cannot open include file: 'Transport.h': No such file or directory[/QUOTE] I've checked, and the … | |
Does anyone know how to add custom .dll and .h files to projects in Visual C++ 2008? | |
Hi everyone, In this page: [url]http://www.pentree.com/contact/list[/url] The coloring for our logo is off slightly when viewed in FireFox. However, the image looks like it matches in IE. Does anyone know why? | |
Hey Everyone, I was just thinking it would be nice to have a forum dedicated to software development using Qt. I know IDE topics aren't really the goal of DaniWeb software development, but with the growing popularity of Qt I think it would be a move in the right direction. … | |
Hey guys, When I create a file on the server and i login with an account called engineer and try to delete the file it says access denied make sure it's not in use or is write protected. I have the ntfs permissions set. I tried with administrator account and … | |
Hey guys, I'm about to start on a research project about multi-threading. I'm very comfortable with c++ oop/data structures concepts, but am completely new to programming with multiple threads. Does anyone have suggested resources for me to get started? | |
Really wanting a google wave invite... can anyone help me out? | |
Is there a way to make links in unordered lists be non-underlined by default? And when the user hovers over the link, it becomes underlined? Here's the current code: [code]<ul> <li><a href="water">Water</a></li> <li><a href="wastewater">Wastewater</a></li> <li><a href="surveying">Surveying</a></li> <li><a href="aerial">Aerial</a></li> <li><a href="it">Technology Consulting</a></li> </ul>[/code] On the page with the lists, all of … | |
Anyone know if they've released a 64bit version of Group Policy Management Console? I need one bad =( | |
Hey everyone, I'm tryiing to install gpmc on our server (see specs in profile). When I click the msi file it says I have to install .Net Framework before I can install gpmc. So I went to add/remove windows components and installed 2.0. After trying to install gpmc again, i … | |
Our organization has hundreds of project numbers. I would like to create a program that will let me store the numbers along with keywords in a database, and then have the option for predictive searching. By predictive searching I mean something similar to how when you start typing something in … | |
I am trying to convert an array of longs to an array of chars. There are 1081 elements in the long array. Each element is 4 digits long. Is there a function in C++ that will convert a long something I can store in the array or could someone point … | |
So my Data Structures class has finished the book we were using, but we still have a week of school left. My instructor has started going over binary files... only problem is I wasn't there when he went over it. My assignment is to open a binary file, save the … | |
Hey everyone, We (the place I work at) are getting a dedicated P2P T1 line to our main office. I'm not sure if this is going to be used for WAN traffic only, or also for internet. If it [I]is[/I] going to be used for internet, I want to block … | |
I'm going to be working on a summer research project with my college's robotics team. My task is going to be to develop a program to communicate with the robot via 802.11g. I would really like to stick to straight C++, and if I can't then C# is also an … | |
Hey everyone, I'm trying to make it so that my ^ operator is right justified within this binary expression tree. For example, 2^3^4 should be evaluated as 2^(3^4). So I should get 2^81, instead of the usual 2^12. Here is the code I have so far. Everything works, except the … | |
Other forums that I visit for help have this feature, and it seems like it would be very helpful. Often times, someone will post a thread and because of the number of people online it may start to sink to the bottom without receiving any replies. What I suggest is … | |
Hey everyone, I'm trying to work with Sets. I have a function [I]Union[/I] that takes a class type [I]Set[/I] as it's parameter. The function returns the union of class A and B. Here is my code: [code=c++]Set Set::Union(Set setB) { Set result (maxItems); for (int i = 0 ; i … | |
Does anyone know of a compiler that will let you utilize WPF in Linux? | |
Hey guys, Can anyone tell me why this doesn't work in VS2008? I've commented out the #includes and whatnot so you can paste it into a single .cpp file and run it. Here are my errors: [quote]1>test.obj : error LNK2028: unresolved token (0A000320) "int __cdecl eval(class Tree<struct InfoNode> &)" (?eval@@$$FYAHAAV?$Tree@UInfoNode@@@@@Z) … | |
Hey guys, I'm getting an error at lines #9 and #14. Could someone tell me what I'm doing wrong? [code=c++]StackType::StackType(const StackType & st) // copy c-tor { if ( st.topPtr == NULL ) topPtr = NULL; else { NodeType * stptr; // pointer to source Stack NodeType * p; // … |
The End.