199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jenroar

Hello! I have been regularly updating a website for a client, but I really only work in HTML or Flash. The client has a problem with the ASP side of their site, and has asked me for help. I don't really know anything about databases or query languages, and I'm …

Member Avatar for bhartman21
0
231
Member Avatar for basma.lm

hi, i work on a widows application sql server ce database and i want to know how to add the rows of a datagridview to a datatable. thanks

Member Avatar for basma.lm
0
141
Member Avatar for lishannx

I have a program that allows drag and drop into the panel (Picturebox). How am i to ensure that this picturebox only be dropped into the panel and no where else? [CODE]public Form1() { InitializeComponent(); string ImagePath = Application.StartupPath + @"\\Model Products v3\"; // string[] Images = new string[] { …

Member Avatar for lishannx
0
223
Member Avatar for katties

Hi is it possible to count days between columns, something like [CODE]datediff(date_finished-date_started) as 'days'[/CODE] only datediff works just with actual dates, and I'd like to have the days number for every row counted automatically with the rsults in a new temporary column'days'; I hope it makes sense. Please could you …

Member Avatar for katties
0
96
Member Avatar for rogue005

I am doing a project on a print spooler. I am using multithreading to support multiple clients. The problem is that I need another thread on the server side to take care of the printing by extracting jobs from a priority queue. If the queue is empty the thread must …

Member Avatar for JamesCherrill
0
78
Member Avatar for jmartis

Hello, I'm a newbie to all this .NET stuff... I create an array of points which I want to use with the DrawLines method [CODE]array<Point>^ points;[/CODE] Now I want to fill the array with points- how do I do this? Thanks for help Edit: using Visual c++ 2008

Member Avatar for jmartis
0
86
Member Avatar for daino

Hi I'm rather new to C++ and am rather confused about something. I noticed, say, in an "if else" statement or a "Switch" statement it only evaluates numerical expressions. In an If Else statement I can compare two strings by using a returned boolean result from say 'strcmp' but I …

Member Avatar for Stefano Mtangoo
0
233
Member Avatar for Cap'nKirk

Hi, I already have an application built and have thought about adding a splashscreen to it. My initial form is MainForm.cs my splashscreen is Splash.cs I have searched the net and seen various different approaches to displaying the splashscreen and have only had limited success with one that I found. …

Member Avatar for kvprajapati
0
103
Member Avatar for Learner7

Hi, I have three text boxes on my form as following: 1) txtTelephone 2) txtDate 3) txtPrice What actually I need to know is, how the text box automatically change the values to the below format: [COLOR="Red"]txtTelephone : [/COLOR] If I enter [B]0403507624[/B] it should change automatically the entered values …

Member Avatar for Learner7
0
111
Member Avatar for maddav

Hi, just a quick question (i hope!!), i'm working on an assignment where i need to build a user-defined library of shapes. The class structure is to have "shape" as a base-class with both 2d and 3d shapes as derived classes. I've handled this by storing them in a vector …

Member Avatar for maddav
0
628
Member Avatar for jarceri

ASP.NET Web Project... "Not Web Application", though it might not matter. Normal MasterPage - > Site.Master Forms Authentication Enabled in the Web.Config file [CODE] <authentication mode="Forms"> <forms loginUrl="/Account/Login.aspx" name="aspNetForm" cookieless="UseCookies" domain="www.localitgeeks.com" path="/" defaultUrl="Default.aspx" slidingExpiration="true" timeout="30"/> </authentication> <authorization> <allow users="*"/> </authorization> [/CODE] Ok so that is the Web.config goo for ya. …

Member Avatar for jarceri
0
131
Member Avatar for sabiut

Hi, i need your expertise in this one. i am new to python, i want to write an algorithm that takes a string as input and determines whether or not it is a palindrome. please point me to the right direction. Thanks in advance. sabiut

Member Avatar for sabiut
0
194
Member Avatar for green_frog

When ever to run the following piece of code in my game it crashes. I have narrowed down the problem to being initiating mEnemies[i] = NULL and mSpaceship.mBullets[c] = NULL. Got no idea why. Please help for(int i=0; i<mEnemies.size(); i++) { // cycle of bullets for(int c=0; c<mSpaceship.mBullets.size(); c++) { …

Member Avatar for mitrmkar
0
162
Member Avatar for Tech B

I would like some feed back on my code. It is an IRC bot written in Python 2.6. What I might be doing wrong/inefficient. Better ways of doing something. And anything that will help sharpen my skills. I know I probably should have wrapped it into a class, and the …

Member Avatar for snippsat
0
199
Member Avatar for George_Williams

I've been developing VB apps for +- 20 years. and I've just translated myself into C#. I have just realized that vb has made me a very lazy programmer by capitalizing and finishing code lines for me. The thing that is tripping me up constantly though are the brackets() at …

Member Avatar for ddanbe
0
94
Member Avatar for collizz

Hi I have a basic PHP contact form using JS validation for empty fields, format checks, etc, which all work fine. I now need to add a mail() using the user input. I've made a version work, using some basic validation in PHP and comment out the JS, but I …

Member Avatar for Monster Killer
0
658
Member Avatar for tania88

Hello all....i just wanna ask maybe a simple question.....here it is...i have develop one system..using php ,mysql...and have multiple user login to the system..and..what i want is, after the user log in, all the detail about the logged user would be retrieve in another page based on log in detail …

Member Avatar for tania88
0
97
Member Avatar for karrotbear

write a python function called getAP which: has three input parameters: an array of measured voltages, the number of measurements n and the threshold voltage for an action potential; and returns an array with n entries, containing a 0 if no action potential occurred at the corresponding time step, and …

Member Avatar for vegaseat
0
113
Member Avatar for ryn6

hi all i know that to be able to bakckup with mysqldump i need to type mysqldump -u [username] -p [password] [databasename] > [backupfile.sql] i was just wondering how can i pass that command from a windows app using c#

Member Avatar for ryn6
0
90
Member Avatar for drivehard-gopro

I have an Xbox 360 wireless controller connected on my PC and need to detect the presses of the buttons and movement of the joysticks.... and have no idea how to do it... Thanks in advance...

Member Avatar for drivehard-gopro
0
83
Member Avatar for Bajoras

Hello, i am new in assembly. I need program what do for example: i write "hello" and program write "olleh". Thanks verey much how can help me sorry for my English

Member Avatar for theifyppl
0
179
Member Avatar for NPDA

hi all pleasssssssss help with this problem im working with multi form project and when i run the program it dont give an errors but its dont work when click button to move through the forms the code which i used : [ICODE] private void button1_Click(object sender, EventArgs e) { …

Member Avatar for Alexpap
0
829
Member Avatar for jonnyboy12

Hello all. This is a quick question. I have learned quite a bit of assembly so far. One thing confused me though. Why would one push a register with nothing in it . for example push eax I have see this happen in code even when nothing has been moved …

Member Avatar for theifyppl
0
125
Member Avatar for adam2009

Hello all, I wrote a jsp page. It has a form with a submit button that sends the data to some algorithm. I would like the submit button to load a "please wait" html. After the algorithm is done - that "please wait" page will be auto redirected to a …

Member Avatar for javaAddict
0
100
Member Avatar for sebastian3

Hi all, I have problem connecting to remote MS Access DB using asp.net. The MS Access DB i have URL , local path and write access. I have used the following connectionstring : [CODE] //con.ConnectionString = "Provider=MS Remote; Remote Server=http://X.X.X.X; Remote Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\\yy\\XXX.mdb;Persist Security Info=False"; [/CODE] Error is : …

Member Avatar for kvprajapati
0
101
Member Avatar for rai32

Hello people, i'm new here, and i hope that you can give me a hand with a little client-server software that i'm doing that it's driving me nuts. The essence of the program is very simple, you have this client (in my case cliente.c, as i'm Spanish) with this syntax …

Member Avatar for rai32
0
293
Member Avatar for Learner7

Hi, As I am to VB.NET, I would like someone to help me on SearchButton code. I am using MS Access database. I would like to get the result of search commond into ListView. Any sample code for this purpose would be highly appreciated. Regards.

Member Avatar for kvprajapati
0
133
Member Avatar for GAME

I would like my webBrowser to run off proxys from a listbox. Everytime it were to start over I would like it to go down the list of proxys and choose the next one. My program is a webBrowser bot.

Member Avatar for GAME
0
80
Member Avatar for rohitmanhas_12

hi i want to convert this jsp code to c#... JSP CODE--------------- [code] ResultSet resultset4; try { Statement statement1 = connection.createStatement(); String strSQL = ("SELECT * FROM IllnessMaster"); resultset4 = statement1.executeQuery(strSQL); while(resultset4.next()) { str2 = resultset4.getString("IllnessId");//Here getting illness ID dd = str2.length();//taking IllnessID length str5 = str2.substring(1,dd);//here making IllnessId into …

Member Avatar for kvprajapati
0
375
Member Avatar for alazanski

How can I make a web hosting service? What do I need? What must I do? I wish to offer my clients web hosting service and website design service. Thank you 4 your help,

Member Avatar for pritaeas
0
176
Member Avatar for lotrgandalf

What is the basic difference between Visual C++ and .NET? Isn't Visual C++ part of .NET?

Member Avatar for jwenting
0
127
Member Avatar for omarfiguereo
Member Avatar for kvprajapati
0
146
Member Avatar for coollife

i want to convert HTML page into asp.net , i tried changing the extension and saving it as .aspx . It worked but most of the options didnt work apart from images like submenus, links and other things so i want to know how to fully convert an html page …

Member Avatar for kvprajapati
0
241
Member Avatar for Mattpd

Sorry I couldn't think of a better title, but thanks for reading! My ultimate goal is to read a .java file, parse it, and pull out every identifier. Then store them all in a list. Two preconditions are there are no comments in the file, and all identifiers are composed …

Member Avatar for SasseMan
0
151
Member Avatar for CF019

Hi guys, First off I would like to mention that I am not an experienced Java programmer. I've been programming for about a year and taken one AP level course in high school. With the exam in a few days, I was wondering if anyone could clear something up for …

Member Avatar for JamesCherrill
0
123
Member Avatar for smbzleon

I have 3 dropdownlist controls on one web page and these controls get populated from database one after user selects one of the values of previous dropdownlist control. For example, values in 3rd dropdownlist gets populated when user selects value from second dropdownlist. Values in second dropdownlist gets populated when …

Member Avatar for kvprajapati
0
115
Member Avatar for sandorlev

Hello, I'm writing a compiler in C++ which generates x86 assembly code. I'm using masm32 to test generated code. I don't really know assembly, I have to look up a lot of things while writing code. My problem is that when I generate the code for a division, like 4/2 …

Member Avatar for theifyppl
0
812
Member Avatar for Darkicon

I'm writing a program to automatically setup some long files for use with streamwriting for another app. Basically all it does is add "sw.WriteLine("" to the beginning of every line and "")" to the end of every line. You gather a list of files which is entered into a listbox, …

Member Avatar for kvprajapati
0
143
Member Avatar for albertkao

How to recursively walk directory & rename files & directories with Python 3.1 on windows? [CODE]#!c:/Python31/python.exe -u import os path = "test" for (path, dirs, files) in os.walk(path): print (path) print ("-----------------") if "monitoring" in path: dst = path.replace("monitoring", "managing", 10) print (dst) os.rename(path, dst) print ("path----") for file in …

Member Avatar for griswolf
0
2K
Member Avatar for Smalls

What I'm trying to do is get the form to catch any key on the keyboard that has been pressed so it will reset a timer? and is it possible to catch these keys stokes even though the app is running in the background?

Member Avatar for kvprajapati
0
177
Member Avatar for Learner7

Hi, I have the following code which works pretty fine with Listview. But I would like to use it with computer keyboard up/down arrow keys. How to modify the following code? Please do help. [CODE]Private Sub LVW_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles LVW.Click txtTAID.Text = LVW.SelectedItems(0).Text txtVNO.Text …

Member Avatar for Learner7
0
1K
Member Avatar for Tainor

I'm learning SDL but I have run across a problem which I can't understand. For some reason, whenever I try to convert an image to the display format it returns a NULL pointer. I've checked the linker and order of functions and everything is right. Curiously, if instead of trying …

Member Avatar for Tainor
0
250
Member Avatar for lotrsimp12345

starting to think that memory isn't big enough. the totalnumberofpegs i only set it to 0 in my code yet it changes it self somehow :(. please help i have tried everything. It shows that it is 0 in all other functions. main.cpp [CODE] #include <iostream> #include <ctime> #include <stdio.h> …

Member Avatar for lotrsimp12345
0
137
Member Avatar for krishnisilva

hi, i am creating a project in C#.NET 2008 standard edition. how can i make the datagrid view read only, but when a cell is clicked which has data another from should open. how can i do this thanks

Member Avatar for manoj kumar1446
0
177
Member Avatar for rahul8590

i have written a small code to store the checkbox values into the db. But its showing me a parse error . Unable to figure out what it could be . [CODE] <?php $dbc = mysqli_connect('localhost', 'root', '', 'test') or die('Error connecting to MySQL server.'); if(isset($_POST['language'])) { $language = $_POST['language']; …

Member Avatar for rahul8590
0
195
Member Avatar for lotrsimp12345

so i think i know where the problem is... it return garbage for code_pos even though i initalize and change values assigned to it. :( Please help. but don't know how to fix it. main.cpp [CODE] #include <iostream> #include <ctime> #include <stdio.h> #include "Mastermind.h" using namespace std; int main() { …

Member Avatar for lotrsimp12345
0
148
Member Avatar for perlnewbe

I'm new to perl and need to read a txt file into a hash and then perfrom the following. Read in the file Create a Hash For each word in the file, count how many times the word occurs. Store the word a hash which is indexed with the words …

Member Avatar for mitchems
0
1K
Member Avatar for johann_2

hello, I am trying to read data from a file and store it in a 2-d dynamically allocated array of pointers. I am able to open the file and read the data in but it doesn't account for the end of the line and if I output the data to …

Member Avatar for johann_2
0
130
Member Avatar for omgaga

Hello, I've read this textbook like a-kezillion times, and i still can't understand why we use the '&' in void function. can somebody please explain. thanks. ps : please don't give that lmgtfy.com thingy. it's annoying.

Member Avatar for NathanOliver
0
76
Member Avatar for dmw

I have an issue. Database design is not at all my forte' but I am being fasked by my boss to learn how, asap. My boss owns 15 small business's, everything from a small weekly Newspaper to an Electrical Service to a Marina. We really dont have any real database …

Member Avatar for markcaldwell
0
198

The End.