199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for markdean.expres

Guys, how do I create a label that when clicked by the user, it will open a website using the default browser. I have seen the control LinkLabel but I do not know how it works or how to use it. Anyone please?

Member Avatar for RenanLazarotto
0
89
Member Avatar for RenanLazarotto

Hey guys! I'm making a simple app that will need some DLLs that I'm using, but I don't want them to be in the same place as the main exe. How can I make my app to load these dlls from a specified folder, like %mainappfolder%\files\dlls ? Thanks!

Member Avatar for RenanLazarotto
0
185
Member Avatar for RenanLazarotto

Hey guys, quick questions! 1- How can I check the size of a variable? Size in bytes, not length. (; 2- What data can be stored into byte variables? And what the maxium size of the variable? 3- How do I store data inside a byte variable? Thats all for …

Member Avatar for RenanLazarotto
0
143
Member Avatar for Ravshan

Hi, guys! My project is to create a chat software in Java. For security i must use Digital signatures+ Java Postgre sql... How to do it? Steps, codes, references, etc... HELP ME!

Member Avatar for Ravshan
0
159
Member Avatar for runge_kutta

Hello, I am having trouble using ctypes to call a Dll function. In short, the function accepts a pointer to an array of structures....like: [CODE] int arrayFiller( USHORT sensorID, void *pRecord, int recordSize ); [/CODE] I have generated a pythonified version of the function by importing the Dll etc. We …

Member Avatar for runge_kutta
0
4K
Member Avatar for thejman82

I would like some help on this database design I need to have completed by next week. Here's the specs: I'm creating a custom PC builder application. I've been getting stuck on trying to create the database for it. I would like to be able to enter customer details then …

Member Avatar for debasisdas
0
222
Member Avatar for chintan_1671

I have created a C++ Win32 Dll. I have created a .def File which contains the names of the functions in Win32.Dll As: 1Win32.cpp includes a class library file named gs.tlb It has functions named sum, strupper 1win32.def as LIBRARY "1WIN32" EXPORTS sum strupper When i try to register the …

Member Avatar for chintan_1671
0
268
Member Avatar for dougancil

I have the following code in my asp page: [code] Imports System.Data.SqlClient Imports System.Data Partial Class _Default Inherits System.Web.UI.Page Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim dt As DataTable Dim connectionString As String = "Initial Catalog=mdr;Data Source=xxxxx;uid=xxxxx;password=xxxxx" Dim con As New SqlConnection(connectionString) Dim cmd …

Member Avatar for jbisono
0
573
Member Avatar for terdie

Hi!Good day.this is my first time to post here. Iam using visual c# 2008 and Im new to it.Im developing a system,Ordering/Sales Monitoring and Inventory system as a part of my requirement in school(my thesis). The system that Im working will be used by a company for REAL so Im …

Member Avatar for ddanbe
0
263
Member Avatar for prajana

Hey can anyone tell me what is this error all about? "Key column information is insufficient or incorrect. Too many rows were affected by update." I am trying to update some fields in my database tables and its giving this error. When i say debug its highlighting the update statement. …

Member Avatar for Jx_Man
0
335
Member Avatar for otomatis

Hi, all Does somebody know how to open text file with half of its name using vb6. example i have 2 files in C:\, they are : 1. Myfile10001.txt 2. Myfile20001.txt I want to read file no.2 with 7 characters first (Myfile2xxxx.txt), and ignore next characters. my script is : …

Member Avatar for Jx_Man
0
412
Member Avatar for sash_le

Hey I am using a devexpress tabcontrol. I have a created a program that allows the user to select an option button and that button takes them to the correct tab. Ive set all the tabs to visable = false untill the option button has been selected. The problem i …

Member Avatar for Nutzy
0
194
Member Avatar for adrianSigamoney

This is not working for me asp.net web page. Maybe dumb question: dim tex as new textbox tex.location = new point (150,150)---------this is highlighted as error tex.width = 150 ---------this does nothing tex.height = 22 ---------this does nothing controls.add(tex) ---------this is highlighted as error Where is my textbox named tex? …

Member Avatar for adrianSigamoney
0
107
Member Avatar for modesto916

Hi everybody, I decided to ask it here because i didn't know how to ask it on google, i want to know what does this line do: : ${dummy_msg:="Nothing started."} Thanks.

Member Avatar for modesto916
0
302
Member Avatar for Masood_786

Hi All, I am a software developer C/C++, not expert in network programming but did a little bit. I work as s free lancer and have been tasked to implement UDP server (Broadcaster) over internet (Server machine has Static IP assisgned by ISP so reacheable from any part of world, …

Member Avatar for Topi Ojala
0
960
Member Avatar for hydeous

Hi, I'm having a strange problem with my linked list program. This is slightly embarrassing because I'm getting back to coding in C++ after 4 years and don't remember much. This is the code [CODE]#include<iostream.h> #include<conio.h> #include<string.h> void printList(struct node *&); struct node { node* next; int data; }; int …

Member Avatar for hydeous
0
142
Member Avatar for normanallen

Having got the old program to work (more or less) as a Console application I have now turned my attention to making it work as a 'proper' program. My first attempt was to generate the 'Hello World' string as a message box. I found I had to cast the second …

Member Avatar for normanallen
0
133
Member Avatar for manish250

Hello all I have a query,may be silly but i have to clear it.IT IS REGARDING THE UPCASTING.I want to "when we can invoke the methods of base class using the object of derived class.then what is the need of assigning the subclass object to base class reference." I mean …

Member Avatar for JamesCherrill
0
153
Member Avatar for nayansaurabh
Member Avatar for nayansaurabh
0
127
Member Avatar for joeyxaza

Dear All, Hi, i am new to php, and i will like to create a Multiple Page Form, the issue is that i dont know how to save the variables from the first form all through to the last form, so that i can save all the form fields into …

Member Avatar for joeyxaza
0
162
Member Avatar for xxxtian

Could someone help me with my problem here? I am using C# and working on a project in visual studio 2008 with SQL server express as the database. In visual studio 2008, I have a project and two forms. The first form that is named 'Informations' has a single datagridview …

Member Avatar for akshintlakalyan
0
190
Member Avatar for xxxtian

[code] private void btnBackup_Click(object sender, EventArgs e) { Backup bkp = new Backup(); this.Cursor = Cursors.WaitCursor; this.dataGridView1.DataSource = string.Empty; try { string fileName = this.txtFileName.Text; string databaseName = this.ddlDatabase.SelectedItem.ToString(); bkp.Action = BackupActionType.Database; bkp.Database = databaseName; bkp.Devices.AddDevice(fileName, DeviceType.File); bkp.Incremental = chkIncremental.Checked; this.progressBar1.Value = 0; this.progressBar1.Maximum = 100; this.progressBar1.Value = 10; bkp.PercentCompleteNotification …

Member Avatar for akshintlakalyan
0
137
Member Avatar for axman1000

I have 3 ASP list boxes. I would like to populate the second list box based on the selection in the first list box and based on the selection in the second list box, populate the third. I would like to do this using AJAX. How can I do it? …

Member Avatar for peter_budo
0
348
Member Avatar for cheers07

We need to combine this two codes to create a game in which we have to count how many times we pressed enter for a matter of time. we need to display the instructions above and how many times we hit or pressed the enter button and also the time. …

Member Avatar for Moschops
0
117
Member Avatar for anirban1087

Hi, I am working on data entry form using PHP. I have 5 fields, on the 1st field I will entry some data, and a ajax code will populate a list matching the data, on select, next two fields will be automatically field with some data from mysql database. Now …

Member Avatar for Shanti C
0
96
Member Avatar for gedas

hey everybody, i have a text file containing some names i place extract those names and i place it in an array an then i compare it with the input from JTextField i am able to compare them and find the values that match. what i want is if the …

Member Avatar for bharathkumar.m
0
238
Member Avatar for altayar

Hello.. I am working on this project which is to use a matrix to encrypt a string& a text file and to decrypt them as well. The matrix that I need to use is this one, but I still don't know how to make it shift each character to the …

Member Avatar for JamesCherrill
0
212
Member Avatar for pseudorandom21

Hey guys, I'm making a global operator, and I have a line where I'm comparing a std::string::difference_type to a std::string::size_type, I think the difference_type is usually a signed integer, and the size_type an unsigned.. Any ideas for an algorithm change? Also, there is a lambda function used I would like …

Member Avatar for pseudorandom21
0
120
Member Avatar for Chair

Hi, I'm making a printable Purchase Order form using Crystal Report. This report retrieves data from two tables. Example, I have fields PONumber,DateofPO,Airline,DateofFlight,ETA,ETD from a table called tblFlight. I have fields PassengerName and Rate on another table called tblPassenger. Each PONumber can have multiple passengers. How can I get it …

Member Avatar for Chair
0
427
Member Avatar for xanawa

Hi i am going to code a resturant booking system and i need help.. Can you give me idea on how i can design my database? i would like this system to take table reservation, tables orders, take aways, crud of menus etc.. u have any idea how to do …

Member Avatar for xanawa
0
105
Member Avatar for klemme

Hi everyone, I have pulled data from mysql into an select list in my admin area. [CODE] $query="SELECT id, linklabel FROM pages ORDER BY id ASC"; [I]//I am not sure if the form should be like this...?[/I] '<form name=test id=test action=edit_page.php method=post>'; $result = mysqli_query ($myConnection, $query); echo "<select class=\"boxstyles\" …

Member Avatar for smantscheff
0
134
Member Avatar for abhi10kumar

I searched and did not found enough information on session_name() method. I am using session_name() on some pages but not on all. I am getting problem, if I omit the session_name() method from my code, it will work fine, but if include, it wont work. I have around 100 pages, …

Member Avatar for digital-ether
0
1K
Member Avatar for kheddy

i get this warning message when I try to include the "using System.Data.MySqlClient;" directive. 'mysqlclient' is missing in the 'System.Data' yet I have installed the connector. what could be the problem?

Member Avatar for kheddy
0
132
Member Avatar for boshu

Hi all, Once again I am here with a simple problem which is hard enough to solve by myself: I got the following keys in an array: [CODE] 20110225104849 20110225104833 20110225104848 [/CODE] And following files in a folder: [CODE] google_20110225091600.7z google_20110225091622.7z google_20110225100306.7z google_20110225100410.7z google_20110225104833.7z google_ready_20110225100410.txt google_ready_20110225104833.txt Yahoo_20110225091639.7z Yahoo_20110225100320.7z Yahoo_20110225100424.7z Yahoo_20110225104849.7z …

Member Avatar for boshu
0
173
Member Avatar for infinitus

i'm having problems displaying XML. When i remove 3rd line i got error(that on line 5 is an extra bit, that is wrong...), and when i keep 3rd line i cant see anything when displaying it on website.. :( i'm not a XML pro so help would be appreciated [CODE]<?xml …

Member Avatar for xml_looser
0
178
Member Avatar for swathys

hi, i'm using flash file to open to next screen but i have no idea how to do that using the code...below is my code. i'm having problem to code at red highlighted area.How do i make it to link or show the next form once the button clicked. PLEASE …

Member Avatar for swathys
0
228
Member Avatar for venkatnams

[code] <%! public String haversine(String lat1,String lon1,String lat2,String lon2) { int r = 6371; String val=null; double dlat=((Double.parseDouble(lat2))-(Double.parseDouble(lat1))); double dlon=((Double.parseDouble(lon2))-(Double.parseDouble(lon1))); double a = (Math.sin(dlat/2)*Math.sin(dlat/2))+(Math.cos(Double.parseDouble(lat1))*(Math.PI/180))*(Math.cos(Double.parseDouble(lat2))*(Math.PI/180))*(Math.sin(dlon/2)*Math.sin(dlon/2)); double c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1-a)); double d = r * c; if(d>1) val= ((d)) +"km"; else if(d < =1) val = ((d*1000)) +"m"; return …

Member Avatar for javaAddict
0
174
Member Avatar for vbBen

Hello, I'm trying to select a good IO module. My goal is industrial control: sensors and push buttons for inputs and ssr's and lamps for outputs. I have VB 6.0 (not professional) I'm looking for about 16 I and 16 O. . . once recieving the module, typically, are there …

Member Avatar for AndreRet
0
94
Member Avatar for McLaren

Hi, I have such js code: [CODE]$(document).ready(function(){ $('#a').click(function() { alert('Handler for .click() called.'); }); });[/CODE] And I have a link in my page [CODE]<a id = "a" href="url">Link text</a>[/CODE] I checked the view source of web page, scripts are loaded, my js file is called bannerUpload: [CODE]<script type="text/javascript" src="/joomla15/media/system/js/mootools.js"></script> <script …

Member Avatar for McLaren
0
325
Member Avatar for virusisfound

I am working in C# windows application and SQL I have one problem i.e I want to know that can we search data directly from database. for table we write a queary = Select * from tablename. like that is there is any queary to directly search from entire database …

Member Avatar for virusisfound
0
134
Member Avatar for bettersaid

Any suggestion what's the best tab to use in loading external pages(html). Im also thinking of adding multiple subtabs within parent tab. I really need expert's opinion on this matter. Thank you

Member Avatar for bettersaid
0
158
Member Avatar for lielee

Hello. I'm not very familiar with RichTextBox so I don't know if it can do what I'm thinking. I have 2 textbox, Quantity and Type. What I want is, when type in both, and click Save, it will save in the RichTextBox. Then click Clear, the text in both textbox …

Member Avatar for lielee
0
362
Member Avatar for P.manidas

Dear Sir/Madam I am getting the list item of a listbox as ToolTipTest on mouse move event. How can I get the list item of a listbox as ToolTipTest by pressing Up or Down Arrow Key on KeyBoard. Please guide me. How i have got the list item as ToolTipText …

Member Avatar for AndreRet
0
772
Member Avatar for ZPBSFG

Hello Everyone! I'm working on a project that should help me to automate some processes that are extremely time dependent, with a mySQL database. I'm presently working with 2 developers on this project on a contract basis to complete the job. I'm finding my developer hesitant to come up with …

Member Avatar for smantscheff
0
283
Member Avatar for Kath_Fish

hey...i trying to pass the data from Combination class to sorted list and display result from the sorted list? I had been try for many times but the result is not right? Could someone can help me?

Member Avatar for Kath_Fish
0
287
Member Avatar for cyberdaemon

good, i am having trouble on how to insert record date in my access db. i am using hdate as my field and his data type is short date here is my code [CODE] cmd.CommandText = "INSERT INTO hold ([hdate], des) VALUES (#" & myDate & "#, '" & TextBox1.Text …

Member Avatar for Jx_Man
0
2K
Member Avatar for tape enterprise

normally to get my items from mysql to an array i use this code [CODE]while($row=mysqli_fetch_array($result)) { $array[] = array('id' => $row['id'] ect...) }[/CODE] anyway I am using some OOP in my code so now I don't know what the row names from mysql are named to use in the while …

Member Avatar for diafol
0
90
Member Avatar for xxxtian

[CODE] Restore res = new Restore(); this.Cursor = Cursors.WaitCursor; this.dataGridView1.DataSource = string.Empty; try { string fileName = this.txtFileName.Text; string databaseName = this.ddlDatabase.SelectedItem.ToString(); res.Database = databaseName; res.Action = RestoreActionType.Database; res.Devices.AddDevice(fileName, DeviceType.File); this.progressBar1.Value = 0; this.progressBar1.Maximum = 100; this.progressBar1.Value = 10; res.PercentCompleteNotification = 10; res.ReplaceDatabase = true; res.PercentComplete += new PercentCompleteEventHandler(ProgressEventHandler); res.SqlRestore(srv); …

Member Avatar for Momerath
0
399
Member Avatar for java-utm-stg

Hello I am getting the above error message with my program. The line giving the error is marked. What I am trying to do is create a file, (new.ppm) and have it then returned onto stdout. [code=c] FILE *fp; fp = fopen("new.ppm", "w+"); //creates the new file fprintf(fp, "P3\n%d %d\n255\n", …

Member Avatar for jonsca
0
345
Member Avatar for Dummi

How to create AssemblyInfo.vb, Resources.resx and Application.myapp in vb.net 2005? I recently see these things come along with vb.net sample code everywhere. Suppose I try to create new project and I want the AssemblyInfo.vb, Resources.resx and Application.myapp appear under "My Project", how can I do that? many thanks for reviewing.

Member Avatar for Ranx
0
2K

The End.