210 Archived Topics

Remove Filter
Member Avatar for Duki

Could someone show me a good tutorial on setting up a free vpn?

Member Avatar for henduo12
0
147
Member Avatar for Duki

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 …

Member Avatar for kvprajapati
0
332
Member Avatar for Duki

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 …

Member Avatar for Duki
0
263
Member Avatar for Duki

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; } …

Member Avatar for Duki
0
145
Member Avatar for Duki

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 …

Member Avatar for Fbody
0
560
Member Avatar for Duki

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 …

Member Avatar for vidit_X
0
105
Member Avatar for Duki
Member Avatar for jonsca
0
102
Member Avatar for Duki

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?

Member Avatar for MidiMagic
0
80
Member Avatar for Duki

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 …

Member Avatar for riyassiraj
0
165
Member Avatar for Duki

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?

Member Avatar for Cronless
0
123
Member Avatar for Duki

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 …

Member Avatar for AdrianaTX
0
140
Member Avatar for Duki

Anyone know if they've released a 64bit version of Group Policy Management Console? I need one bad =(

Member Avatar for andykc
0
150
Member Avatar for Duki

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 …

Member Avatar for andykc
0
104
Member Avatar for Duki

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 …

Member Avatar for serkan sendur
0
134
Member Avatar for Duki

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 …

Member Avatar for tux4life
0
250
Member Avatar for Duki

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 …

Member Avatar for vmanes
0
153
Member Avatar for Duki

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 …

Member Avatar for billythehamster
0
397
Member Avatar for Duki

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 …

Member Avatar for Duki
0
114
Member Avatar for Duki

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 …

Member Avatar for Duki
0
487
Member Avatar for Duki

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 …

Member Avatar for Duki
0
300
Member Avatar for Duki
Member Avatar for alc6379
0
498
Member Avatar for Duki

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) …

Member Avatar for Duki
0
410
Member Avatar for Duki

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; // …

Member Avatar for Duki
0
178
Member Avatar for Duki

Hey guys, I have a function that compares two dynamic arrays and returns true or false if they're identical. [code=c++] bool Identical(QueType que1, QueType que2) { if (que1.IsEmpty() != true && que2.IsEmpty() != true) { cout << "in loop\n" ; ItemType tmp1 ; ItemType tmp2 ; que1.Dequeue(tmp1) ; que2.Dequeue(tmp2) ; …

Member Avatar for Duki
0
179
Member Avatar for Duki

I have an assignment question that says "Decide whether the [I]syntax[/I] of the following statements is valid or invalid." These are the statements: [code=c++] a) listData->next = ptr1->next ; b) listData->next = *(ptr2->next) ; c) *listData = ptr2 ; d) ptr2 = ptr1->next->info ; e) ptr1->info = ptr2->info ; f) …

Member Avatar for Duki
0
103
Member Avatar for Duki

Hey guys, I'm going to be starting a research project pertaining to [URL="http://www.jauswg.org/index.shtml"]JAUS[/URL]. Basically, this is a standardized protocol to be used in autonomous robotics... someone will essentially connect to a robots IP and be able to transmit various commands over 802.11. I not exactly sure where to start, so …

Member Avatar for Duki
0
97
Member Avatar for Duki

Hey everyone, can someone tell me how to include other .cs files in my program? sort of like the .h files in C++ I guess. I want to be able to call functions from other .cs files. Thanks

Member Avatar for ddanbe
0
119
Member Avatar for Duki

In one of my C# books, this is written: [quote] "if you write this application in VB.NET or any other language compliant with the .NET CLS, you will have compiled it into more or less the same MSIL. By design, IL code created from different languages is virtually indistinguishable"[/quote] I …

Member Avatar for jbennet
0
127
Member Avatar for Duki

Hey everyone, I'm going to be starting on a project that communicates with a 270 degree range finder. I would like to incorporate some sort of picture to represent the data it reads. Something similar to [URL="http://www.robotshop.us/hokuyo-utm-03lx-laser-scanning-rangefinder-1.html"]this[/URL] Does anyone have an idea of where I could start? I'm not sure …

Member Avatar for LizR
0
101
Member Avatar for Duki

Hey everyone, I'm working with a login form in my application. The easiest way I can see to do the authentication is to query a user/pass database for any rows that match the given username and password. How can I send a query when the user clicks OK? Am I …

Member Avatar for toko
0
121
Member Avatar for Duki

Hey guys, my prof is looking for a good polymorphism project. The one's in the book weren't good at all. Could someone give a suggestion?

Member Avatar for Firasath
0
122
Member Avatar for Duki

Hey everyone, I have a program using databases and I want to send a click event for the AddNewItem binding. I was able to do something similar for the "Save" icon, so that when a user modifies an entry they can click a link label that says "Apply" and it …

Member Avatar for Duki
0
111
Member Avatar for Duki

Hey everyone, we're still working trying to get Linux to communicate to our robot via an RS232 port. We added this code to the project in Mono: [code=c#]Using System.Ports.IO SerialPort ports = new SerialPort("ttyS0",19200,Parity.None, 8, StopBits.One); [/code] We can't get anything sent out of our COM ports. We're not even …

Member Avatar for Duki
0
119
Member Avatar for Duki

Hey guys, is there something special I need to do to access the RS232 port in Linux from C#?

Member Avatar for LizR
0
80
Member Avatar for Duki

Hey everyone, I'm writing a program for work. I need to do the following: The user inputs an unknown number of values to be processed. I want to allow them to basically click "new" and be able to add a new textbox or something that will allow them to input …

Member Avatar for selvaganapathy
0
119
Member Avatar for Duki

Hey everyone, I have a program that computes the distance between two elevations at a given point. I need to plot these lines to a picture. I'm having problems getting the lines to start in the correct spot. Here's the code I'm using: [code=vb] Dim Gr As Graphics = PictureBox1.CreateGraphics() …

Member Avatar for Duki
0
294
Member Avatar for Duki

We're trying to get our C# program to work on linux. We just loaded into Mono, and it compiles fine but the form doesn't appear. Anyone know what? Does it have something to do with it being a "windows form"?

Member Avatar for Duki
0
164
Member Avatar for Duki

Hey guys, I need to know about Lithium-Ion batteries and where I can buy them. I'm not really talking about laptop batteries. I need something that can power a desktop for well over an hour (more like half a day). Does anyone know where I can get information on this? …

Member Avatar for GrimJack
0
169
Member Avatar for Duki

Which is better? We're designing a new autonomous robot for the competition we attend during the summer and this is one of our topics for design. I want to do a dual-processor, multi-core computer to run the software. Some others want to do distributed computing (between two laptops). Am I …

Member Avatar for Salem
0
276
Member Avatar for Duki

hey everyone, we have an argument that figured up the angle in a double. We need to convert that double to a char and send it out the serial port. I've tried this: [code] char t1 = (char)A; comBobbySue.Write(A);[/code] but i get errors. can someone give me a hand? :(

Member Avatar for dickersonka
0
180
Member Avatar for Duki

Hey everyone, I want to restrict cursor movement outside of a picture box when the user clicks a button. Here's what my code looks like so far: [code=c#] private void btnX_Click(object sender, EventArgs e) { if (remote == false) { remote = true; Cursor.Position = pctRemote.PointToScreen(gridCenter); //centers the cursor on …

Member Avatar for LizR
0
272
Member Avatar for Duki

Probably a bit of an advanced question... How hard is it to allow for multi threading support with C#? For example, we have a motherboard that has the capability for two processors with four cores each (dual xeon quad cores). We want to dedicate one processor (or core) to calculating …

Member Avatar for Duki
0
132
Member Avatar for Duki

Hey everyone, is this the most efficient way to round a decimal number to two decimal places? [code] txtXaxis.Text = String.Format("{0:F2}", A); //show 2 decimal places txtYaxis.Text = String.Format("{0:F2}", V); //show 2 decimal places[/code] thanks!

Member Avatar for Duki
0
74
Member Avatar for Duki

Hey everyone, I'm completely new to C# so I'm sorry if I don't make sense. I need to capture the x and y position of the mouse cursor within a group box (or some other frame). How can I do that?

Member Avatar for cVz
0
241
Member Avatar for Duki

Hey everyone, I'm trying to write code that will be sent out of the COM port to a PIC microcontroller. However, I don't have the controller available yet. Is there an emulation software that will allow me to virtualize a COM port and capture the data that's being sent to …

Member Avatar for dougy83
0
199
Member Avatar for Duki

A very funny (and borderline absurd) article I thought many of you would enjoy: [url]http://www.pbm.com/~lindahl/real.programmers.html[/url] :) -hope this is the best place to post this

Member Avatar for grumpier
0
106
Member Avatar for Duki

Hey guys, We're trying to work with a driver program for our robot. If we can grab the x and y coordinates of the Mouse we could send them to the controller for driving. Does anyone know how to capture the mouse movement into an integer?

Member Avatar for iamthwee
0
164
Member Avatar for Duki

Hey everyone, A friend and I are trying to figure out how to interface C++ 2008 with COM ports for our robotics team. Is there a simple "template" we could go by, or is it different for every device? Could someone provide an example of how to transfer data to …

Member Avatar for Duki
0
464
Member Avatar for Duki

Hello all, I'm looking for a good VB.NET book. I know a little about c++ and am looking for something along the lines of a text book. Anyone have any good suggestions?

Member Avatar for jbennet
0
139
Member Avatar for Duki

Does anyone have a recommendation of some software I could purchase to simulate cisco routers? I'm in the netacad and am looking for something that will allow me to setup networks to test or with give me practice labs built in. thanks

Member Avatar for safesa
0
77

The End.