43,549 Solved Topics
Remove Filter ![]() | |
Hi guys, I am creating a window application in vb.net that need to use sql server database. I want to install this application to client machine without installing sql server so that my application can still connect to a database is there any way for this ? Software Development client-server vb.net | |
I have this code which do some matrix operation. It can be run on Microsoft Visual c++ 6.0 but i got problem when run it using Dev C++ 4.9.9.2.. it says, [COLOR="Red"]main must return and int[/COLOR] Can somebody help me? [CODE]// FDduct.cpp , finite difference. method. for duct #include <stdlib.h> … | |
Hi, Does anyone give me some suggestion? When I close the form, but some process is still running.I don't know how to handle this kind of situation. What I want to do is that stop all processes first and then close form automatically. [CODE]Private Sub Command1_Click() 'Do process 1 Call … Software Development visual-basic | |
Hello, this is my first post on DaniWeb so I hope you'll go easy on me ,and my english.I'm working on a implementation of the AES algorithm in python;my app is supposed to encrypt the contents of files, and it does, yet it is kind of slow.I've optimized the code … Software Development algorithm encryption oop python | |
My program is having an error on the following lines w/ red font. It says invalid types 'int[int]' for array subscript... pls help I'm not sure how to solve this. [COLOR="Green"]*********This is actually how my program works********* Read in a line of text and output the number of words in … Software Development c++ | |
Im trying to implement a btree. I don't have any error in compiling, but when I run my code I have some weird runtime error. It says something like: MALLOC c:3096: sYsmalloc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size … Software Development c++ | |
I'm very new to programming and was wondering why I am receiving a warning. "Function Checkbox doesnt return a value on all code paths. A null reference exception could occur at runtime when the result is used" I then want to execute this function through button.click event: CheckBox.ExecuteNonQuery() [CODE]Function CheckBox() … Software Development open-source sql vb.net | |
Hey, I'm working on a project where we have to stream files from a server app to clients. I have it all working nicely, but we have a special client type that cannot save files to HDD, not even temporarily. I can get the byte stream from server to this … Software Development client-server file-stream microsoft-access | |
Hallo, i have a Csv file,i would like to read ,convert it and than represent it with Datagrid the fonction who read my csv [CODE]public List<String[]> Parse_CSV(String File_Path) { List<string[]> Parse_Data = new List<string[]>(); try { using (StreamReader Read_File = new StreamReader(File_Path)) { string Line; string[] Row; while ((Line = … Software Development | |
Hi, I am doing a window servise application using VB.net. I have faced problems with sql suery, as below: [CODE] Dim dt As New DataTable() SQLStr = "SELECT FautyScanTbl.Model, FautyScanTbl.Version, FautyScanTbl.WIP, FautyScanTbl.ScanNo, FautyScanTbl.LotSize, FautyScanTbl.SerialNo, FautyScanTbl.PIC," & _ "SerialNoTbl.SetWeight, SerialNoTbl.AccesWeight, SerialNoTbl.pdmid, ScannedPartNoTbl.ScannedTime " & _ "FROM FautyScanTbl LEFT OUTER JOIN " … | |
Dear All, Can anybody tell me how to autoincrement the Hexa decimal value. For Ex: I am having the value FF0B in Result array and want increment it to FF0C. Now Result array should contain two values. Software Development perl | |
I have a list box where the user can add choices depending on what items they want active in the database but I cannot figure out how loop through this listbox to update the items. Any ideas? Visual Studio 2010 [CODE] Dim lstitem As String For i = 1 To … Software Development vb.net visual-studio | |
![]() | I am trying to make the following program. SUM=1+1/2+1/3+1/4+1/5....1/n n should be input by the programmer. I thought that using [CODE]for[/CODE] would work, but it only gives me a series of 1+1 1+2 1+3,etc. What I wish to get is the series itself and the total addition of it. Any … Software Development c++ ![]() |
I have an array that I want to be able to access in two separate methods and also in other files. To do this I have had to declare it as Static, can this be done another way? because I don't want to declare it as static This is an … Software Development c++ | |
I have a menu that I made, and the first time you select a program prom the menubar and click the launch button it launches the program, however when you select a different program, or to to the menu and reselect the same program then click launch it opens 2 … Software Development java java-swing | |
Hi, Thank you,I have some doubt in python programming like 1)Difference in between module,library,package. 2)what is difference in between built in and keyword. Eg: None,True is Builtins not keywords. 3)what is the use of writing the code(to call main method) if __name__=__main__:main rather than simple mian call main() 4) can … Software Development python | |
I'm working on a Chat program using a server and clients. I have all of that working fine but now I'm trying to setup accounts for the server to use and I'm having problems with checking if the password entered on login matches the password for the account. When the … Software Development c++ client-server | |
I want to make a program, that will run every time I turn on the computer. Like Skype.. or Anti Virus programs. How would I do that? Software Development c++ | |
I have a button in grid view.I am not able to select the current row through that button.I have to enable SELECT before clicking that button. But I dont want to enable SELECT. Now I want to know is there any way to directly select the currentrow without enabling SELECT. Software Development | |
So I wrote a little remote control client/server based app to turn off my roomates torrent client at night (to avoid having to go into his room). I could have done this with remote software such as teamviewer or VNC but I don't need all the functionality that they provide … Software Development abuse client-server machine-learning tcp-udp virus-malware visual-studio windows-vista windows-vista-7-8 | |
Hi please help me with this problem i really need it those kind hearted programmers out there please help me :) thanks | |
I am making a program and I want to be able to determine the refresh rate of the monitor somehow (to limit an fps cap). I am using windows API. Is there anyway to access this? Software Development api c++ windows-api | |
Hi Guys, I have little problem to open any url link from my application i have placed a textbox and a button on the screen. what i want is any url which i write in the textbox and when i press the button automatically that url would open in the … Software Development vb.net | |
hi, i am working on windows 7 platform,please tell me how to install and configure third party packages,to use that package in some other python program Thanks mukthyar Software Development python | |
Good Morning, I am trying to create 2 arrays out of a list. Here is the code that I use: [CODE]int* move_x= new int[10]; int* move_y=new int[10]; void D::printpath(){ int i=0; list<state>::iterator iter2; for(iter2=path.begin(); iter2 != path.end(); iter2++) { cout<<"["<<iter2->x<<" , "<<iter2->y<<"]"; move_x[i]=iter2->x; move_y[i]=iter2->y; i=i+1; } }[/CODE] It gives an … Software Development c++ | |
My MASKFORMAT is "##:00" which allow rounded hours but can I include that ## can only contain [0-23]? what would that code look like? [code] private PropertyChangeSupport propertySupport; public static final String PROP_TICKING_PROPERTY = "clock is active"; //public static final String MASKFORMAT = "##/##/#### ##:##:## UM"; public static final String … Software Development java | |
Hi, I need to have all the letters of the alphabet displayed across my tabpage, with each letter clickable. Can someone pls help me; I can't get this right, I only have the letter A displayed: [CODE] Label[] lblalpha = null; lblalpha = new Label[26]; string alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; char[] … Software Development c# | |
According to [url]http://msdn.microsoft.com/en-us/library/bb384093.aspx[/url] Microsoft.Smartdevice.Connectivity.dll needs to be under drive:\Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Bin\Microsoft.Smartdevice.Connectivity.dll. but i dont have that, do you know where to download it? Software Development microsoft | |
hi im new to python and programming, and I have just learned loop and nesting statements. I dont understand how to create functions and all that. could anyone come with some good suggestions to make my crappy script better? here is my script: [CODE]print 'choose option' print 'a) fortune telling' … Software Development python | |
Hi there, I am writing a program that is taking a number and finding its cube roots and then prints out whether the result is an odd or an even number. I have written the following code but for some reasons it is not giving me the right answer. Could … Software Development c++ | |
I have developed a program where I do some database connections and send some queries with JDBC to MySQL database called ANU. I have used NetBeans 6.9 under Ubuntu 11.04 as platform. When I run the app from NetBeans, it works perfectly but when I try to run it from … | |
how can i get a variable inside a package example: [CODE] { package example; my $baz = "sometext"; sub new{ my $self = shift; bless \$self; } } my $foo = example->new; [/CODE] how can I get the value of $baz i tried [CODE]print $foo->{vv}; print $foo::vv[/CODE] and no luck … Software Development perl | |
Hello I am student of BSCS 4th Semester. we studied basics of java in OOP subject i want to make a 3D Paint in java simple free hand diagrams by using sphere.. drawing on different coordinates.. [CODE]/** * * @author MuDi */ import com.sun.j3d.utils.geometry.*; import com.sun.j3d.utils.universe.*; import java.util.Scanner; import javax.media.j3d.*; … | |
hi, I am from c# field and now are doing a project using VB, I wants to ask about question as below: 1) private static DataSet ds; I wants to convert the C# codes above to VB syntax, but VB seems like don't have equivalent keywords of "static"(Correct me if … | |
![]() | Hi all, Here's the problem I have. I am designing a website in HTML and I want to include a chat system using a Java applet. I have written a small example applet that just connects to my server and gets the users that are currently online. The applet works … Software Development client-server java ![]() |
Just wondering which of these functions would be faster (or if they would be the same): [CODE]class MyClass { private: bool MyVar; public: MyClass &Function1(bool MyVar); MyClass &Function2(bool MyVar); MyClass &Function3(bool var); }; MyClass &MyClass::Function1(bool MyVar) { this->MyVar=MyVar; cout<<MyVar; return *this; } MyClass &MyClass::Function2(bool MyVar) { this->MyVar=MyVar; cout<<this->MyVar; return *this; … Software Development c++ | |
I was reading Programming with java for Dummies 2nd Edition and came across this piece of code. I tried to read a chrachter using scannerobj.findInLine(".").charAt(0) method. But I get an exception saying theres no such method. And even nextLine, nextWord isnt working. Please help. I have pasted the exact code … Software Development java | |
[CODE]int operator%( double a, double b ){ int aa = (int) a; int bb = (int) b; return aa%bb; }[/CODE] gives me an error message "must have an argument of class or enumerated type"! As you can see, I want a simple program which truncates doubles into their equivalent integers, … Software Development c++ | |
I recently wrote a java jar file that takes the current date and time and puts it into a text file. What i want to do is put this into a users startup folder so i know when they got on to the computer. However, if the jar is in … Software Development java | |
![]() | Hey, I am not sure whether this is the right place to ask this but I figured that maybe someone here has used JFileUpload for uploading files to a server. I just downloaded the applet and tested it out on my server and uploading works as long as the files … Software Development client-server java socket-programming ![]() |
OK, I looked for a noob section to the forum, but didn't find one. So here's my issue. I'm doing an exercise from a text book for a class I took two years ago. Back then, this wouldn't have been an issue. Now, having not looked at C++ for all … Software Development c++ | |
In my client/server program, whenever I need to get data from one or the other it requires a buffer to temporarily store the data. The problem is that I don't know how much data I am going to be getting. I could be receiving a few lines of text or … Software Development client-server | |
[CODE]class A{ A a=new A(); void method(){ System.out.println(a); } public static void main(String args[]){ A b=new A(); b.method(); } }[/CODE] This code gives a run time error.What is the wrong with this code Software Development java | |
Hi! I am trying to make a simple "Guess my number" game. For some reason the compiler (Visual Studio 2010) gives me an error. Here is the full code : [CODE]#include<iostream> #include <cstdlib> #include <ctime> using namespace std; int main() { int tries = 0; int input; srand(static_cast<unsigned int>(time(0))); int … Software Development c++ gaming visual-studio | |
can anyone can help how to create a live search in vb.net 2008 using combo box. example when i try to search a name then a press a then there should be a drop-down with a list of suggestions of name. here is my code [CODE] Private Sub ComboBox4_SelectedIndexChanged(ByVal sender … Software Development vb.net | |
is it possible to call form load event on button click Following is the vb code i want same function in vb.net [CODE] Private Sub cmdaddcancel_Click() Form_Load End Sub[/CODE] Private Sub cmdaddcancel_Click() Form_Load End Sub in vb we simply call Form_Load is it possible in vb.net For eg: IN VB.net … Software Development vb.net | |
Hello, I have an application where I save an image to a database in a column of type VARBINARY(1024) I used 1024 because I think is the number of bytes and I want to handle images no larger than 1MB. I have my code to save the image and it … Software Development image | |
Hey, I have four labels in a form: label1, label2, label3, and label4. Now, if this was VB.NET, I would have used the following code to change their contents without having to type the code for each one separately: [CODE]For I = 1 To 4 Me.Controls("label" & I).Text = "Some … Software Development | |
Hi, I have to build a matrix class with functions that you would expect, Im wondering if anyone can tell me why one or both of these functions arent working correctly? Basically a test harness is run against them to check so the data is random. Im sure it is … Software Development c++ |
The End.