43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for razamughal67

Hello everybody How to show usb drive letter when we attach my usb to my computer example: we use a label or textbox and one timer now we want to do this we start my project and attach a usb drive to my pc the lebel or textbox show much …

Software Development storage visual-basic
Member Avatar for razamughal67
0
2K
Member Avatar for Labdabeta

I am using code::blocks and have written a dll. I am currently testing it but am getting tired of having to compile it, copy the DLL, DEF, H and A files into a test project, and then compiling the test project every time I need to fix something. Is there …

Software Development c++ microsoft opengl
Member Avatar for Labdabeta
0
255
Member Avatar for nuclear

I was just wondering why do we exactly call glTranste command if its possible just to increase objects x, y or z. And its even stated in this tutorial: http://nehe.gamedev.net/tutorial/particle_engine_using_triangle_strips/21001/ that its even faster to only use Vertex3f() instead of resetting the Modelview Matrix. Anyways, maybe its just something particular …

Software Development c++ opengl
Member Avatar for nuclear
0
264
Member Avatar for razamughal67

Hello every one i think all is fine i want to open a folder with a file path Example: i have a file path c:\testfile.txt now we want to open folder of this file where save my testfile.txt file using a command botton i mean {open containing folder} please help …

Software Development file-system open-source visual-basic
Member Avatar for razamughal67
0
10K
Member Avatar for venkateshyeluri

Can some one tell me is there a way to convert vb.net code to c# in VS2010?

Software Development c# vb.net
Member Avatar for Mitja Bonca
0
94
Member Avatar for mehdimughal

I need help with this code Constructer is abnormally called again n again.... add these file 2 a project n run ...i've given given constant messages in da code to explain the problem! Hit (1) two tyms i.e GetInput function in da menu.... u'll get 2 knw wat da problem …

Software Development c++
Member Avatar for mehdimughal
0
410
Member Avatar for shean1488

Hi everyboy, I have a question how to add not boolean expression to the conditional loop, Imagine some situation where I have : while(some expression && another expression) { .... } So lets say I want to calculate how many times "another expression" was evaluated. I wish I would stick …

Software Development java
Member Avatar for shean1488
0
191
Member Avatar for abu taher

all thing is ok. all ready 11 item was saved. in sr. no. 12 when I input all necessary thing and click in save button massage was show " save data". no error massage show. but the data is not save in database. I don't know why? So I need …

Software Development visual-basic
Member Avatar for abu taher
0
178
Member Avatar for fafa70

hi. i have some code in visual basic and i wrote some classes in c++ and i want make it dll but i don't know that when you use dlls it decreases the speed of process or not. thanks.

Software Development c++ vb.net visual-basic
Member Avatar for thines01
0
260
Member Avatar for riahc3

Hey Ive been literally killing myself looking up guides but most are way outdated and/or complicated. I tried a few simply ones but they simply appear to be out of date. Can someone point me on a easy way to set it up in Windows? Ive been trying to use …

Software Development windows-server
Member Avatar for riahc3
0
157
Member Avatar for MasterHacker110

I have been programming in c++ for a while now, and i see the windows.h class is very handy on windows computers, where can i find a good tutorial for windows.h (winapi) (win32) programming. The ones i found so far either doesnt give you enought info on programming and some …

Software Development c++
Member Avatar for MasterHacker110
0
163
Member Avatar for taher_sk2000

I want to update my database but the problem is that the driver is not taking any values from the preparedStatement. I am getting an error : java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] You must enter a value in the 'ClassicRoom.Occupy' field. Press any key to continue... Here is the ActionPerformed …

Software Development java microsoft-access
Member Avatar for taher_sk2000
0
180
Member Avatar for triumphost

How can I have my program modify itself? Example: Size = 1mb ..Run program once.. size = ++1mb On Second Run, check if itself is 1mb Or something of the sort :S. I need to be able to check if my program has ever been ran before.. So.. Is there …

Software Development c++
Member Avatar for MandrewP
0
151
Member Avatar for jason316

I am having an error that I can't seem to get past. The problem I get is an internal server error 500 when I try to run the C++ CGI script. here is my HTML document. I am using Apache Web Server. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> …

Software Development apache c++ client-server web-server
0
136
Member Avatar for NoUserNameHere

Hi, I just started learning about java applets recently and was wondering why the shapes won't appear on screen when I press a button. import java.applet.*; import java.awt.*; import java.awt.event.*; public class Buttons extends Applet implements ActionListener { public void init() { button1 = new Button("Button 1"); add(button1); button1.addActionListener(this); button2 …

Software Development gui java
Member Avatar for NoUserNameHere
0
147
Member Avatar for perly

Hi, I have 2 sets of multiple sequence files of DNA sequences. Examples of set 1 are as follows: Seq1.txt contains: ATACAGGATCAGATG Seq2.txt contains: ATACCGGATCAGATG Seq3.txt contains: ATACAGGGTCAGATG Examples of set 2 are as follows: Seq1.txt contains: >seq1 ATACAGGATCAGATG >seq2 Seq2.txt contains: ATACCGGATCAGATG >seq3 Seq3.txt contains: ATACAGGGTCAGATG I want one/two …

Software Development perl
Member Avatar for perly
0
1K
Member Avatar for abhishek_ag

Hi Guys, I have written the below program to convert binary to octal, it is giving me erroneous results. On entering 1111 as the input number I should get 17 as the output, whereas I am getting 16707000337 as the output. Kindly help me out, below is my program: /*program …

Software Development c
Member Avatar for abhishek_ag
0
269
Member Avatar for triumphost

Hey all, Back with another Win32 question. When I paint to my window (create a background image), what happens is that everything is fine until I draw the window off the screen causing it to invalidate everything.. When dragged back onscreen, my background is redrawn but my controls are all …

Software Development c++
Member Avatar for Banfa
0
1K
Member Avatar for prnjn

I have made a HRMS (Human Resource management System) using NetBeans 6.5 and for database MySQL 5 The project is completed and running fine ( great) without any problem when i run it in NetBeans using Run Main Project Button. Then i 'Clean and Build the project' and get a …

Software Development java java-netbeans java-swing open-source
Member Avatar for NormR1
0
401
Member Avatar for Rasool Ahmed

Hi gueys, I have spent weeks in searching to know how to Explore hard disk files using c++ driver developping?. I'm developing anti-virus program, only I want is: when the user choose custom scan from scan options the program load a driver and send the path to the driver and …

Software Development c++ file-stream
Member Avatar for Rasool Ahmed
0
887
Member Avatar for compsci91

How can two classes uses each other without violating declaration before use? Can you give me an example?

Software Development c++
Member Avatar for mike_2000_17
0
126
Member Avatar for Dendari

Hello everyone. I'm working on a program which should edit a text file by adding/deleting some specific lines. By default this text file doesn't have these specific lines, so the program will add them. But I also want it to replace them if they're already in the text file. Basically …

Software Development file-system operating-system vb.net
Member Avatar for Dendari
0
205
Member Avatar for jrosh

I want to implement an event similar to taggin a photo in wpf. Wht functionality should i use to mark a certain area of an image in order to tag it. thakx in advance. ps: i have tried <pres:RadTransitionControl.ContentTemplate> <HierarchicalDataTemplate> </HierarchicalDataTemplate> </pres:RadTransitionControl.ContentTemplate> and <Image></Image> but those dont support that fuctionality

Software Development c c# c++ image
Member Avatar for jrosh
0
185
Member Avatar for Reverend Jim

I have a form with a TableLayoutPanel with the following properties changed from default: Dock = Fill AutoSize = True AutoSizeMode = GrowAndShrink ColumnCount = 1 Margin.All = 0 one row set to AutoSize This is a stripped-to-the-basics version of part of my app. I want to generate a vertical, …

Software Development vb.net
Member Avatar for Reverend Jim
0
2K
Member Avatar for crazyjdog

I am working on a random number guessing game for my class and so far I have not really been able to figure out where I am going wrong. As far as I can tell my syntax is correct, I think that maybe I am just missing something. Any help …

Software Development
Member Avatar for crazyjdog
0
164
Member Avatar for nuclear

Just wanted to know if we need to texture map the texture on the model with code or is it better to just import a model with textures already on him? (considering its even possible)

Software Development c++ gaming image
Member Avatar for mike_2000_17
0
199
Member Avatar for honeybee2090

hi guys few days ago i was trying to find some thing to learn and i found a code it leech proxies from web but method used is post method/ http webrequst .... problem is here want to do same thing with web browser here r the codes [ICODE]Dim request2 …

Software Development regex vb.net web-browser
Member Avatar for honeybee2090
0
117
Member Avatar for triumphost

case WM_MOUSEMOVE: if (wParam & MK_LBUTTON) { RECT WindowRect; POINT CursorPos; GetWindowRect(hwnd, &WindowRect); GetCursorPos(&CursorPos); SetWindowPos(hwnd, 0, WindowRect.left - CursorPos.x, WindowRect.top - CursorPos.y, 291, 157, 0); } break; Hey Guys The above code isn't working for me. I'm trying to have the user Drag my borderless window but the thing just …

Software Development c++
0
67
Member Avatar for mstashev

So I have an assignment where I am supposed to create an oop that will run on a provided Unix server. I have a Mac so when I run the makefile in Terminal, I don't get any errors. But when I try to run the makefile in the provided Unix …

Software Development c++ client-server unix
Member Avatar for mstashev
0
250
Member Avatar for Sahil89

Hi guys, does anybody know about render issue in WPF while using windows 7? I am facing render issues when I use effects like shadow or blur. Most controls do not appear or keeps blinking. Is there any solution to fix this problem?

Software Development asp.net vb.net
Member Avatar for Sahil89
0
118
Member Avatar for Gazzmonkey

Hi, only posting here as a last resort since I cannot find anything at all online to help me with my project. Anyways, I'm developing an autonomous mobile robot with colour tracking using a khepera II as my robot and a CMUcam2 turret module as my onboard camera, I had …

Software Development c
Member Avatar for Gazzmonkey
0
194
Member Avatar for cisumma

Hello I have written a MVC2 : DAO program using an Apache derby embedded DB. Currently I have not been able to jar the program : runs in IDE. My question concerns running this program on multiple work stations of a local network. Will this be possible? Currently when I …

Software Development apache ide java
0
82
Member Avatar for BryantFury

I have the following simple code. It consists of an array with 4 items. It first displays the items, then asks the user to delete as many as they want.(with an option to continue without deleting anything). After the user has removed or not removed items, the program will display …

Software Development c++
Member Avatar for BryantFury
0
275
Member Avatar for ttugates

Hi, I am writing a program that displays a 2D array of strings, (non jagged) onto a windows form using Visual Studio 2010 and C#. For example: string[,] fds = new string[,] {{"ant", "aunt"}}; I attempted using the dataGridView controll, dataGridView1.DataSource = fds; but, get the length of the value, …

Software Development visual-studio
0
93
Member Avatar for mehnihma

I need to pass buffer object which has generated values to construcor of reading class to print real time generated numbers. Which is the best way to do it? When I pass generated value I get the number but I need to pass values that are beeinig generated and writed …

Software Development java
Member Avatar for mehnihma
0
141
Member Avatar for BryantFury

Hi ive made a program where it displays 10 products from a website. The customer then chooses a certain amount of those products. When the customer is finished choosing, the program will display all products the customer has chosen. Here is the full program. it works. #include <iostream> #include <fstream> …

Software Development c++
Member Avatar for BryantFury
0
585
Member Avatar for t_daniweb

Using an appropriate definition of ListNode, design a simple linked list class with only two member functions and a default constructor: void add(double x); boolean isMember(double x); LinkedList( ); The add function adds a new node containing x to the front (head) of the list, while the isMember function tests …

Software Development c++ linked-list
Member Avatar for t_daniweb
0
613
Member Avatar for Sloppos21

I have recently started learning C++ and I'm having some trouble with the following problem: "Suppose a cuboid has three sides length, depth and height. Write a C++ program that reads from keyboard these 3 sides in the form of integers, with proper input prompt/s, then display the volume of …

Software Development c++
Member Avatar for Sloppos21
0
200
Member Avatar for 24x24

Hello, I have an assignment to convert some given jave code into c++. I am currently having an issue wherein when I run the program it tells me that: error C2660: 'approximateSqrt' : function does not take 1 arguments. Any suggestions for moving forward would be appreciated. I have the …

Software Development c c# c++ java
Member Avatar for 24x24
0
217
Member Avatar for BryantFury

Hi ive made a code which does two things. First is read from a separate .dat file a product's model number, name a proce. The second bit allows the user to choose the product model. Depending on what the user chooses, only 1 of the products is displayed. So for …

Software Development c++
Member Avatar for BryantFury
0
120
Member Avatar for FelineHazard

Hi all, I am doing some c++ exercise about operator replacing. I have successfully replaced the + (plus) operator to work on a user-defined class. I understand these operators are order-sensitive: need to replace the operator for (class+int) and for (int+class). Thus, creating **two** replacements that do exactly the same. …

Software Development c++
0
150
Member Avatar for dwlamb

I am looking for syntax I saw somewhere but can not find now. Working with the results of a find delete the files found. The syntax is something like this: for i in "${find . -name '*.ini'}"; do rm $i; done Am I dreaming or is this possible?

Software Development shell-scripting
Member Avatar for dwlamb
0
92
Member Avatar for utkarshsahu

In Python, which is more of a pythonian style of writing between these two: 1. print 'Hello' or 2. print('Hello') If u have a link on basic outlines of pythonian style and which syntax is a more pythonic way to use, it would be very useful to me. Thank You!

Software Development python
Member Avatar for utkarshsahu
0
177
Member Avatar for prnjn

**I am using NetBeans** i have a 'Search by employee id' button . I want when user click this button a dialogue box appear which take employee_id as input from user . then that input be used for fethcing data from the database ( desired table in DB has primary …

Software Development java
Member Avatar for prnjn
0
211
Member Avatar for compsci91

Give a main function written in C++. Your main function is to see if it has been passed exactly one command line argument (you are to check that there is exactly one), and it has the value –verbose The function will set the local integer variable foundVerbose to 1 if …

Software Development c++
Member Avatar for nullptr
0
206
Member Avatar for zachattack05

I'm working on a databound CheckListBox and things are going well, but the name I chose for it is bugging me. Because the control CheckListBox already exists, I didn't want to name it that, and instead chose P_CheckListBox (the P represents the first letter of the company name) and is …

Software Development
Member Avatar for zachattack05
0
126
Member Avatar for prnjn

Hi. I am Using netBeans.. I have 4 JLists (i.e jList1 , jList2, jList3 , jList4) in 4 different tabs in frame. Each List has the value of employee_id from database (i successfully did it already) there are many field in tabs ( i.e rows of databse with employee id …

Software Development java java-netbeans
Member Avatar for prnjn
0
746
Member Avatar for Simon180

I got a problem with abit of code and am unable to fix it, i have marked the area that is having the problem with the error message that i get. procedure TMainForm.Show(s: string); var n, n2, n3: integer; arTemp: TMyArray; begin arTemp := TMyArray.Create(); n := InStr(1, s, ':'); …

Software Development pascal
Member Avatar for darkagn
0
152
Member Avatar for jhedonghae

hi again everyone...i have here an attach image of my problem.... items in year level came from my database...what i wanted is that their would be no repitition...is this possible? please help ![526949_423643440983941_100000148652191_1891701_429384302_n](/attachments/small/3/526949_423643440983941_100000148652191_1891701_429384302_n.jpg "align-left")

Software Development vb.net
Member Avatar for jhedonghae
0
112
Member Avatar for mehnihma

I need help with this code. I get zero values, how can I stop generating numbers when I hit the target number? Thanks import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.util.*; import java.util.concurrent.locks.ReentrantLock; /** * @author Marin */ public class TargetFinder extends JFrame { private static final long serialVersionUID = …

Software Development java java-jsp java-swing
Member Avatar for mehnihma
0
166

The End.