132,726 Archived Topics
Remove Filter ![]() | |
I have this C++ code :[code] const int ANYSIZE_ARRAY = 1; struct LUID {DWORD LowPart; WORD HighPart;}; struct LUID_AND_ATTRIBUTES {LUID Luid; DWORD Attributes;}; struct TOKEN_PRIVILEGES {DWORD PrivilegeCount; LUID_AND_ATTRIBUTES Privileges[ANYSIZE_ARRAY];};[/code]I want to convert this code into C# syntax. I tried this one, but don't know how to place array in a … Software Development | |
Hi! When my login form is loaded, I wish to retrieve the list of usernames from the database login to a combo box on the login form. unfortunately I am stuck with this error messsage " syntax error in FROM clause". Below is my codes.. help me out please Thank … Software Development dataset open-source | |
Hi All! I have a table that there is a combo box inside the table. For example, the combo box consist of item codes. And then, whenever user choose item from combo box, the next column inside the table will show name of the item. Here is my example coding: … Software Development java | |
Hi, I've been working alot on a program lately, and I'm actually veeery close to done. Atleast until I come up with something more to add. The most useful function of this program, is the ability to create Shortcuts, which at the same time creates a command to start it. … Software Development c++ | |
hi i have the next problem i have an array or arraylist from class Student which has firstname, lastname and grade. How can i sort them by grade (value) - ascending and descending? [CODE]package zadacha_1; import java.awt.List; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; public class Zadacha_2 { /** … Software Development java | |
Hello! I'm making an enrollment application in vb6, using Access as my database. It will be used by 2 to 3 persons (registrar and cashier). What codes do I need if I want to retrieve data from my database from one pc to where my database is? If I declared … Software Development visual-basic | |
Hi, i'm trying to take the last list from a list of lists, use that as a start point, then iterate through the list of lists and find the closest match, then use that matched list as a base and iterate through the remaining lists for the closest match to … Software Development python | |
Hi experts Here I am with yet another problem. I want to add data in a tree viewer controller dynamically from my database. I am using ms-access as my back-end Please help me ASAP. Thank you in advance Software Development visual-basic | |
im facing a challenge here peple. i will give as much detail as i can. i am trying to come up with code such that when a button is clicked it runs through a field "copiesremainng" in my subscription table and subtracts 1 from every record in that field. this … Software Development open-source visual-basic | |
Hi guys, I would like to know if there is any way that I could disable a datagridview row and make it unselectable. I need to do this because I have clients in the grid of which some are active while others have been disabled but i am still displaying … Software Development | |
Hi, I am trying to get a perl script that a contractor created for me but I am having some issues with it. I am NOT a perl programmer and I know just enough about it to be dangerous. I am more of a PHP/CSS guy. Anyway, the purpose of … Software Development client-server perl | |
Hi, We are developing a C# windows application which [B]scrolls[/B] the selected windows automatically by using(hooking) win32 [B]SendMessage()[/B] function and later will display the no. of pixels scrolled using [B]GetScrollInfo()[/B] function. The SendMessage() is working properly & is scrolling all windows including IE. But GetScrollInfo() is not working for IE … Software Development | |
Please, show me How to return to a calling void method within or without using the RETURN (in java). Thanks Software Development java | |
chk this piece of code [CODE]#include<iostream.h> using namespace std; class hi { public: void print() { cout<<"hi"; } }obj; int main() { hi *h; h->print(); } [/CODE] output---> hi -------------------------------------------------------- [CODE]#include<iostream.h> using namespace std; class hi { public: void print() { cout<<"hi"; } }obj; int main() { obj.print(); } [/CODE] … Software Development c++ | |
I'm new here at DaniWeb, and my english suck. Does anybody know how to make a form open [B]itself[/B], just in a new window? I want to make a form, that haves a button in it. when i click the button, it opens up a "copy" of itself (the old … Software Development visual-basic | |
Today I've learned some concepts about Pointer in C++ and I have a confusion in this code snippet and its result. Source Code: [code] // Pointer array #include <iostream> using namespace std; void main () { char * say = "Hello"; // cout << "say = " << say << … Software Development c++ | |
Dear Experts SqlServer Table1 has data as follows Sno-------date 1------01/01/2010 8------01/01/2010 1------02/01/2010 5------02/01/2010 2------18/01/2010 9------18/01/2010 3------18/01/2010 1------03/01/2010 6------03/01/2010 My questions are: 1) I want to display the SMALLEST Date into textbox1 which is 01/01/2010 2) I want to display the BIGGEST Date into textbox2 which is 18/01/2010 3) I want … Software Development vb.net | |
[CODE] Dim InputText As String = Me.txtenter.Text Dim Letters = From c As Char In InputText.ToCharArray Select c & " = " & AscW(c) & " " Me.lblanswer.Text = String.Join("", Letters.ToArray) [/CODE] The above code is to convert each letter in a word or phrase (including the space) to its … Software Development vb.net | |
Im brand new to java and programming in general. Just wondering if someone could help me out with my homework. Method 1: Write a public static method named myUserName. This method does not return anything. This method accepts no parameters. This method simply prints out your engr username (all lowercase … Software Development java | |
Hi, I have a structure declared in C# [CODE]public struct myStruct { int x; }[/CODE] I created a 2D array of structures [CODE]myStruct[,] theStruct = new myStruct[3,3];[/CODE] What is the C# equivalent of the following C++ code? theStruct[0][0].x = 50;?? Please Help Thanks in advance Software Development c# | |
ZdravÃm, mám jeden dotaz, jelikož na komponentu LV nejde použÃt wizard jako na DGW, chtÄ›l bych se zeptat, jak postupovat pÅ™i vypisovánà jednotlivých řádku z DataTable, viz kód: Hello, i have got one questions, because with ListView component i cannot use the Wizard, i would like to ask, how to … | |
Hi there, i am new in VB.Net and i have problem with my VB.Net project. I want to create an application where it capable to print a report like we normally do in word and save it in the pdf format. But the problem is i dont know how to … Software Development pdf vb.net visual-basic | |
Dear Experts How to make datagridview current row bold? Please help Software Development vb.net | |
hi... i just wanted to know how we can access the variable of 1 form to another form.as far as i know, ther is no session management concept in C#. for ex., i want to access my login id into the next form. then what will be the procedure to … Software Development session | |
Hey everyone I'm a college student taking semester two of C++ and we have a project using classes. This semester we are strictly using Vi to edit and compile my code. WARNING THIS CODE IS NOT THE WAY I WOULD PERSONALY WRITE IT, BUT MY INSTRUCTOR INSISTS ON THIS FORMAT. … | |
Hello guys, by the way I am a newbie here. This is my first post in this forum. I am now doing a window application(MFC.exe-dialog based) using the Microsoft Visual C++ 6 Enterprise Edition. Actually I am doing the simple application that read a string from text file. I only … | |
Can You give me the code of detecting text from an image, i am a student and i am doing programing at beginner level. so please help me out. Software Development | |
Hello, my name is Luis Gomez, i'm the responsable for z3950's client development, i want to thank you for your time and will for help us. I've already revised de code, i looked some test source code: /*Test source code */ public void testLOC2() throws Exception { app_context = new … Software Development api data-structure java xml | |
i wrote this module code but not sure if this is how you write a module. Is there anything i have missed?? [CODE]int FirstModule(int section) { cout<< "Pick a number " <<endl; cout<<endl; cin>>number; if (number == 1) value = 1.00; else if (number == 2) value = 1.10; else … Software Development c++ | |
Hi guys, I am wondering how can I create a sorted linked list, without using Collection.sort(). Is there a way I can add element in a list in a sorted fashion? Software Development java linked-list | |
Hi, I'm having a syntax issue with timeit while trying to measure the time taken by a function meant to concatenate two linked lists. [CODE] def get_time() : import cell import timeit for i in range( 1, 16 ): lista = cell.make_list(i) #this function return the root of a sll … Software Development linked-list python | |
Hi, so ive been teaching my self pointers, and I just wanted to clarify what I assume so far. You cant declare: int var1 = &var2; You MUST use a pointer to store an address: int *var1 = &var2; When assigning a pointer variable, it must always point to an … Software Development c++ | |
So I am new to C++, but I have read on dynamic memory and pointers. I know java well, but java gives you a lot of helpers, C++ not so much D: Ok so I am using VS 2008, and I am just rather baffled on how to get started. … Software Development c++ visual-studio | |
[B]hi I want my delphi db programm to run automatically in resolution 1024.768 and when I close the programm it returens to previous resolution (windowes resolution)like the most games what should I do? [/B]:( | |
Hi there, I am new to C++ and trying to get my head around it. I am writing really simple and small programs and I have Visual C++. Now, can anybody summarize how I can run a program I wrote with C++ on Visual? The guide that comes with the … Software Development c++ | |
Am embarrassed to ask this but RegEx is really my kryptonite. I have a RegEx line that extracts just numbers from a string. However, I need to tell it that I only want the numbers that come BEFORE a specific set of characters, let's say SDCSDC. Any numbers after that … | |
Hi. I have a working program that lets you put info about a coupon. and then later on you can search for coupons, display them or remove them from the linked list. My problem is that, we are not supposed to perform input operations from our classes. But the way … Software Development c++ linked-list | |
hello friends I need to create a child window. but when i am triggering the same event mutiple window is creating. How can i check whether a the window is already visible or not? How can i focus on the same if it exists? Software Development python | |
Hello.. I'm working on my project.. It's not done yet.. But i wanna debug these errors now first.. Please would someone check them for me. Thanks.. Here is the interface: [CODE]# ifndef MAINMENU_H # define MAINMENU_H # include <iostream> using namespace std; class MainMenu { public: MainMenu(); MainMenu(string the_name); MainMenu(string … Software Development c++ | |
I want to launch a new process from a given string of input (including parameter). I tried to use system() but it appears that in the child process, getppid() is not the same as the caller in some runs (probably because system uses the shell as command interpreter). However, if … Software Development c multithreading | |
Please suggest how thius can be achieved and best approach to follow. a) Suppose server1 have application which is started using "java -[B]Xmx512M[/B] -jar <[B]app1[/B]>.jar" from command prompt from particular directory example C:\proj\application1> C:\proj\application1> Based on certain condition I want to stop this <app1>.jar on server1 and b) Start app.jar … Software Development java | |
Hi, I have an application where I have to use two dll files as reference to my project. The thing is, my dll files both have the same name, but are something like different versions. I am not able to add both as references becoz of clash in name. And … Software Development | |
i wrote this shell given below. please i need any suggestions and assistance in making this created shell support the following commands: cp (copy), del (delete), hos (prints the hostname of the machine), cd (changes directory), clr (clears the screen), dir (lists contents in directory), environ(lists the environment setting), echo … Software Development c | |
i cave this code [CODE] #include <iostream> #include <cstdlib> #include <cassert> using namespace std; typedef int typos_akmis; template <class typos_stoixeiou> struct korifi { typos_stoixeiou dedomena; /* i would like to do korifi<typos_stoixeiou> * ->kdktis */ korifi<typos_stoixeiou> * epomenos; akmi<typos_stoixeiou>* kefali; /* here is the problem */ int episkeftike; } ; … Software Development c++ | |
Ok, I know that I am missing something due to my lack of knowledge with Binary Serialization and wish I could find better material on it. In the mean time, thanks to one of the moderators help, I have now been able to store an array in my database. Once … Software Development vb.net | |
Hey, Im using visual studio 2008 trying to make a windows form application that uses a database. Currently The design looks like this a Table BandID -> links to a table of Contacts -> also links to a table of Songs If i have a member of Table BandID with … Software Development database-design visual-studio | |
hello everyone, im just confused on how to create GUI using the visual c++, could you help me.. coz i tried one but it doesnt work at all, do i haVE to setup anything on its properties | |
Hello guys, need a little help here! I wanted to create a fading effect on a groupbox but there is no opacity property for that control. Is there any way to set a control 's (i.e. button, groupbox, etc) opacity? Ive been searching the net but found no useful help... … Software Development | |
I am currently doing a college project using asp and c#. I have the sql database connected and I am able to write to it but i cant read from the database the way I want. So I have a dropdown list populated by dates from my database and I … | |
Hello everyone, I'm new to C / C++, and just wanted to make a file which can delete an item. The code worked, but when I want to give a path, it doesn't work anymore. Any help? [CODE] #include <iostream> #include <stdio.h> using namespace std; int main() { remove ("c:\users\asus\new.docx"); … Software Development c++ file-system visual-studio |
The End.