132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for maheshsayani

Hi To All, How can the Network LAN Connection to be Enabled/Disabled through Vb Code

Software Development visual-basic
Member Avatar for AndreRet
0
990
Member Avatar for madtorahtut

Greetings everyone, I was looking for some help in creating a seemingly simply backup script. I have two servers, laid out in the same format: Server A: the directories contain all the iterations of a certain type of file Server B: the directories contain only the most recent file. The …

Software Development file-system shell-scripting
Member Avatar for JeoSaurus
0
149
Member Avatar for prajana

hello! I am designing an attendance system and i have a problem regarding marking the attendance. I don't want to use datagrid as i cant mark the attendance there ie i want to use checkboxes to mark the attendance. I'll provide a screenshot of how the form should look like. …

Software Development visual-basic
Member Avatar for AndreRet
0
868
Member Avatar for brick79

I have a text file that contains separate lines where this text will always appear, short_message=<some text>. The <some text> part could potentially be different on every line. What I'd like to do is extract the <some text> text and only that text from the file. I don't want the …

Software Development shell-scripting
Member Avatar for JeoSaurus
0
101
Member Avatar for Syphilis

What's Up? OK, So I'm making a small batch script, That retrieves the IP of a website, And put it into a variable so we can use it later on. The problem is how do I get the IP of the website into a varible? The way I was going …

Software Development shell-scripting
Member Avatar for JeoSaurus
0
144
Member Avatar for NewOrder

i want to transfer my code to a winform. i know how to create buttons, text,,etc... and how to operate them. The problem is that i made my code in a windows application, and i want to transform it to window form application.. i dont know how to copy and …

Software Development
Member Avatar for NewOrder
0
164
Member Avatar for FlamingClaw

This is just a simple password program...

Software Development pascal
Member Avatar for FreeBirdLjj
0
2K
Member Avatar for triksterx

I am using the following code to create a set of radiobuttons. The radiobuttons are created fine, but when it comes time to delete them, the buttons and text persist on screen. How do I go about ensuring that the radiobuttons get deleted? [code] import Tkinter class App(): def __init__(self): …

Software Development python tkinter
Member Avatar for TrustyTony
0
2K
Member Avatar for ravikiran_kmca

Hi , I have the requirement like this 1) It should be in javascript and html datagrid only 2) In html-datagrid table ...mouseover on cell(coloumn) pop-up should be appear 3) It should be come out from the browser(pop-up) 4) It shoulb be use Javascript only <html> <head> <title>pop-up</title> <style type="text/css"> …

Software Development html-css javascript
Member Avatar for charlybones
0
296
Member Avatar for Jaseem Ahmed

i m here to ask u a importnt question... is there any way to scroll down or up the text boxes on frames... i mean to say, i have one form, and a frame, and so many text boxes on frame, that all can not b shown at a time, …

Software Development visual-basic
Member Avatar for AndreRet
0
219
Member Avatar for Rookie09

Sup guys, I got another "little" thing here , i am trying to create a preprocessor macros for SQL language , so when the compiler run into things like SQL key words : for example : COLUMN(title) TYPE(string), COLUMN(author) TYPE(string), COLUMN(copies) TYPE(int), it automatically will generate appropriate C++ code ( …

Software Development c++ data-structure sql
Member Avatar for Mpampirina
0
205
Member Avatar for vishal18

Dear friends, Thanks in advance..... I'm working on project which includes multiple frames. whenever I need to open other frame with first one get closed , I have used new instance of new class(frame) and I just make setVisible(false) for previous frame. Now after some use , there is problem …

Software Development java
Member Avatar for vishal18
0
97
Member Avatar for ansari.wajid

Hi Experts, I have a windows service running every minute and has many database operations to perform. It runs perfectly for many days, sometimes it suddenly stops and throws this exception. Later when we start to debug it, the exceptions goes off, but if we don't debug, the exception continues …

Software Development microsoft sql
Member Avatar for ansari.wajid
0
218
Member Avatar for lara_

i dunno whether this question has been ask before but i've try to search but didn't found. so i ask it here... very simple... if i declare [B]int Z; cin >> Z;[/b] if I enter integer, it works fine but i enter character it's looping. :sad: how to prevent it …

Software Development c++
Member Avatar for Hymppis
0
347
Member Avatar for singhabsk

Good morning all, here i have some probs. in logic if possible just solved it i have a text file contains following data..... sec TID SID ATTRIBUTE 69013 1-3039 1 REGISTER 69013 1-3039 1 100 69013 1-3039 1 401 69013 1-3039 2 REGISTER 69013 1-3039 2 100 69013 2-3039 1 …

Software Development perl
0
96
Member Avatar for ktsangop

Hi everyone! Just wanted to ask before i begin messing around. Is it possible for two processes to access the parallel port simultaneously? So that if i short circuit Input pins to output pins of the parallel port one process will provide input to another one? I am using Windows …

Software Development c++ windows-xp
Member Avatar for ktsangop
0
211
Member Avatar for ramesh125

How to store a set of cooordinates , let us say 300 to array

Software Development python
Member Avatar for TrustyTony
0
175
Member Avatar for pacheco

Hi all, I have a combo box which i wish to display all the Usernames from the table Users, but with the UsergroupID of 1. However my codes currently displays ALL Username records. How can i modify it to only fetch Usernames records with the UsergroupID of 1? Codes as …

Software Development display
Member Avatar for Ketsuekiame
0
132
Member Avatar for ComicStix

Hello everyone! So I have to do this project for computer science class. We have to make a class that generates 50 odd numbers in order starting at 1 and stores them in an array of 50 int elements. Then we have to arrange the numbers we get so that …

Software Development java
Member Avatar for adarshcu
0
314
Member Avatar for JacobBruce

Does anyone know which of these are quicker? [CODE]procedure SetMousePos(Point: TPoint); begin Mouse.CursorPos := Point; end; function GetMousePos: TPoint; begin Result := Mouse.CursorPos; end;[/CODE] [CODE]procedure SetMousePos(Point: TPoint); begin SetCursorPos(Point.X, Point.Y); end; function GetMousePos: TPoint; begin GetCursorPos(Result); end;[/CODE]

Software Development pascal
Member Avatar for pritaeas
0
317
Member Avatar for deb081900

Hi I am using C# 2008 with Access 2007. I am using MDI on MDI a added a menu now that Menu have a Login MenuItem which is enable and other menu items are disabled at form load. Now I am try to implement this if login is successful then …

Software Development microsoft-access open-source
Member Avatar for chetanbasuray
0
110
Member Avatar for TinhornAdeniyi

i am trying to move the node in the first item from the list and add it to the back of the list 1->2->3 becames 2->3->1 instead i get 3 1 2 [CODE] #include <iostream> using namespace std; struct nodeType { int info; nodeType *link; }; void createList(nodeType*& first, nodeType*& …

Software Development c++ linked-list
Member Avatar for TinhornAdeniyi
0
201
Member Avatar for bartm669

Hi all i need a piece of code that will find a value in an array and change it. [CODE] private int[][] level = new int[][]{ {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, …

Software Development java
Member Avatar for bartm669
0
136
Member Avatar for stephy1

I got Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at this line.[CODE]File f1= new File(args[0]);[/CODE] I guess i have to give a command line argument. How to give a file as command line argument. Or is this someother one?

Software Development java
Member Avatar for masijade
0
724
Member Avatar for AngelicOne

Do I just need to make a field for account type in my user account table? In a technical way, if(account type = admin) then the account would log as admin; otherwise, a user with less privileges.

Software Development
Member Avatar for AngelicOne
0
140
Member Avatar for gsingh2011

Does anyone know if its possible to type in a number and get the resulting ASCII characters in a batch file? I think in Unix based machines you type the command then \042 or whatever number you want, but I don't know if you can do it in batch files...

Software Development shell-scripting unix
Member Avatar for SimonEyes
0
4K
Member Avatar for kocmohabt33

First of all, I'm new to Daniweb and I would like to thank in advance to all those who take their precious time to help me. I appreciate it greatly. Hopefully, I'll get good enough to contribute and help others in the Daniweb developing community, as well. The problem I'm …

Software Development c++
Member Avatar for kocmohabt33
0
142
Member Avatar for kdesu

Hi, My issue with xml is, I have an xml like <a><b><c><d1 value="x" weight="10"/> <d2 value="y" weight="20"/> <d3 value="z" weight="30"/> </c></b></a> I need to conver this xml to, <a><b> <c><d1 value="x" weight="10"/> <d2 value="y" weight="20"/> </c> <d3 value="z" weight="30"/> </b> </a> I need move specific "d3" element (with all attributes) …

Software Development xml
Member Avatar for kdesu
0
2K
Member Avatar for quinnifir

ok. i am making this program called Human_Data to store peoples info on your computer. bwahaha. i need help with opening and reading peoples info, stored in a profile class. i am also confused with instances of classes. here is the code. [CODE]#----------------------------------| #Copyright Muffinware 2011 | #Human Data and …

Software Development python
Member Avatar for TrustyTony
0
123
Member Avatar for dougancil

I have the following code: [code] Imports System.Data.SqlClient Public Class Main Protected WithEvents DataGridView1 As DataGridView Dim instForm2 As New Exceptions Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles startpayrollButton.Click Dim ssql As String = "select MAX(payrolldate) AS [payrolldate], " & _ "dateadd(dd, ((datediff(dd, '17530107', MAX(payrolldate))/7)*7)+7, '17530107') …

Software Development dataset open-source vb.net
Member Avatar for Pgmer
0
204
Member Avatar for biancaW

I need help to create C++ program for this question Input the price of a product and the tax code (R or L).If the code is ‘R’ the tax rate is 8% and the rate is 12% for ‘L’. Calculate the total price and tax paid for the product. Continue …

Software Development c++
Member Avatar for arkoenig
0
285
Member Avatar for Chair

Hi, I need help in numbering rows in datagrid. I have a column that should number 1,2,3 so on when adding a new row. When I delete a row, those numbers should re-number still to 1,2,3. So when I delete row 2, the row that's been added as 3 should …

Software Development vb.net
Member Avatar for Pgmer
0
313
Member Avatar for butchoy

[ICODE]#include<iostream> #include<conio.h> #define height 10 using std::cout; using std::cin; using std::endl; int main () { //int num=0; int n,m,width; int count = 0; int nums[count]; int div=0; cout<<"Enter the number you wish to enter: "; cin>>width; int jologs [height][width]; cout<<endl<<width<<endl; for (int i=0, m=width; i < width; m--,i++) { cout<<endl<<endl<<"Number(s) …

Software Development c++
Member Avatar for butchoy
0
193
Member Avatar for emreozpalamutcu

I'm making a program and in one of the part of the program there is this button and for it to do main function it needs to check if the notepad is running. So how can i check if the process is running?

Software Development c++
Member Avatar for cool_zephyr
0
8K
Member Avatar for daniel1977

Greetings Friends: I am stuck with a compilation error that I have not been able to resolve. I was able to duplicate this error with a test program so whatever I am doing (or not doing), it is the same. Please see the code below. The error is actually from …

Software Development c++
Member Avatar for mike_2000_17
0
129
Member Avatar for zetologos

Im playing around with the clone method of arraylist and have a few questions. This is what i did with it: [CODE] ObjectMaker item1 = new ObjectMaker(); ObjectMaker item2 = new ObjectMaker(); ObjectMaker item3 = new ObjectMaker(); ArrayList<ObjectMaker> arrayList = new ArrayList<ObjectMaker>(); arrayList.add(item1); arrayList.add(item2); arrayList.add(item3); Object theList = arrayList.clone(); [/CODE] …

Software Development java
Member Avatar for naief
0
188
Member Avatar for FL Botanist

WARNING: I am a botanist, not a programmer. If you are offended by newbie questions, please jump to the next thread. I'm in the Environmental Horticulture at the University of Florida and I'm trying to build an online, multiple-entry key to help students identify the plant families. I have permission …

Software Development c
Member Avatar for FL Botanist
0
251
Member Avatar for kylej628

Hello everyone, I am trying to loop the entire "main" function, yet for some reason it only loops the termlength_determine() function and then jumps to the 'askloop_function'. i only need it to loop the entire 'main' function [CODE] //This program calculates the user's pay. #include <iostream> using namespace std; //::integer …

Software Development c++
Member Avatar for sfuo
0
124
Member Avatar for singhabsk

hi i m abhi i have one file containing some info like LT19-10-13-400922 --TID1-3039 1--RequestREGISTER LT19-10-13-405432 --TID1-3039 1--Response100 LT19-10-13-410015 --TID1-3039 1--Response401 LT19-10-13-415481 --TID1-3039 2--RequestREGISTER LT19-10-13-419800 --TID1-3039 2--Response100 where LT19-10-13-400922 is log time ,,i.e. 19 hr. 10 min. 13 seconds 400922 usec. and i want this to convert only in second …

Software Development perl
Member Avatar for singhabsk
0
163
Member Avatar for newC

Hi. I am new in C programming. I am tasked to complete a program. The hardest part in programming is to understand the logic of a program. Please explain to how and why the algorithm works. I have commented the parts that i need know of/needs help in green. Your …

Software Development algorithm c
Member Avatar for chrjs
0
126
Member Avatar for Nandomo

I am writing a program which asks the user for input, how many digits to use, on 2 numbers which will multiply themselves. A loop will multiply all combinations of that number digits and determine the largest palindrome. I know how to do palidnromes with strings, but don't know if …

Software Development c++
Member Avatar for Nandomo
0
116
Member Avatar for Zabzacon

Okay, so I am trying to make a game much like an old game called "Chip's Challenge". Right now I have a square that I can control with the arrow keys but I'm not sure how to make a wall that cannot be passed through, could anyone help me?

Software Development java
Member Avatar for Zabzacon
0
157
Member Avatar for tomtetlaw

I've been following Chad Vernon's (very good) Direct X 9 tutorial [[URL="http://www.chadvernon.com/blog/resources/directx9/loading-a-static-mesh-x-format/"]http://www.chadvernon.com/blog/resources/directx9/loading-a-static-mesh-x-format/[/URL]]. I am stuck at one point because I'm trying to load a .x model, I have it set up so it will output errors if something goes wrong but nothing appears, I've setup breakpoints and looked at return …

Software Development c++
Member Avatar for chrjs
0
247
Member Avatar for lgonzo

am newb in c++ trying to write simple c++ program that a computer, try to guess a number i have chosen by it producing rand number and me telling me whether it is to low, high, or right and using do while loops we are suppose to produce it now …

Software Development c++
Member Avatar for lgonzo
0
2K
Member Avatar for Xtian9

I am investigating the equations which say that the error in the trapezium rule is proportional to (b-a)^3, where a and b are the lower and upper limits respectively, and that the error in the simpson's rule is proportional to (b-a)^5. [img]http://img809.imageshack.us/i/eqns.png/[/img] (First equation is for trapezium, second equation is …

Software Development c++
Member Avatar for mike_2000_17
0
449
Member Avatar for vandadm

Hello, I'm working on an assignment for class, in which: 1) I need to display a menu for fruit selection. 2) After selection is made, program asks for quantity (double). 3) Program should enter selection in class array (this seems fine). Where I'm having the problem is in the do …

Software Development c++
Member Avatar for vandadm
0
114
Member Avatar for DaveTran

I'm trying to avoid using a singleton pattern with my finite state machine. My agent is changing states based on enumerated messages: [code] public enum MessageType : byte { PathFollow, AlertStatusStart } [/code] Each state is derived from the following class that has access to a Game1 class: [code] public …

Software Development
Member Avatar for DaveTran
0
110
Member Avatar for DaveTran

I'm currently using the following for counting forwards and backwards through an array depending on the current index. If the index increments past the end of the array it now decrements and vice versa. [CODE] isReversed = isReversed ? index - 1 != -1 : index + 1 == array.Length; …

Software Development
Member Avatar for DaveTran
0
100
Member Avatar for deltamaster

I want to compose a Matrix class template. Matrix objects need to copy data very often, such as in copy constructor or assignment operator overload function, so it need to be efficient. For most cases, I should not escape the assignment operator overload function of each data item, but for …

Software Development c++
Member Avatar for mike_2000_17
0
122
Member Avatar for CrankyMero

Hello Everyone Im having kind of trouble looking for this info, but i created a POS program that when i install it, it install under Local Settings\Apps\2.0\blabla So what i want to know if how can i make my system install like any other program, "Under Program Files/POSystem/" like so …

Software Development vb.net
Member Avatar for CrankyMero
0
121

The End.