43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for saj_amo

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
Member Avatar for saj_amo
0
103
Member Avatar for lili.edryana

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> …

Software Development algorithm c++ storage
Member Avatar for Ancient Dragon
0
321
Member Avatar for zawpai

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
Member Avatar for zawpai
0
274
Member Avatar for drak0

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
Member Avatar for drak0
0
635
Member Avatar for king03

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++
Member Avatar for Arbus
0
8K
Member Avatar for montjoile

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++
Member Avatar for montjoile
0
366
Member Avatar for moone009

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
Member Avatar for Momerath
0
127
Member Avatar for bleedi

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 …

Member Avatar for CsharpChico
0
738
Member Avatar for rminator

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
Member Avatar for rminator
0
809
Member Avatar for leo88

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 " …

Software Development dataset sql vb.net
Member Avatar for sandeepparekh9
0
125
Member Avatar for Diwakar Gana

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
Member Avatar for Diwakar Gana
0
693
Member Avatar for moone009

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
Member Avatar for NETProgrammer
0
2K
Member Avatar for Raim

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++
Member Avatar for Raim
0
162
Member Avatar for highlite

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++
Member Avatar for highlite
0
93
Member Avatar for sirlink99

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
Member Avatar for sirlink99
0
116
Member Avatar for mukthyar1255

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
Member Avatar for Lardmeister
0
307
Member Avatar for Ertzel

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
Member Avatar for Ertzel
0
147
Member Avatar for sergent

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++
Member Avatar for kerp
0
132
Member Avatar for arsheena.alam

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
Member Avatar for ddanbe
0
135
Member Avatar for skatamatic

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 …

Member Avatar for butcher1012
0
418
Member Avatar for whin_lopez

Hi please help me with this problem i really need it those kind hearted programmers out there please help me :) thanks

Software Development listview vb.net
Member Avatar for longstrd
0
3K
Member Avatar for Labdabeta

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
Member Avatar for Labdabeta
0
961
Member Avatar for saj_amo

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
Member Avatar for chriswelborn
0
935
Member Avatar for mukthyar1255

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
Member Avatar for snippsat
0
207
Member Avatar for Ninjah

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++
Member Avatar for Ninjah
0
153
Member Avatar for ceyesuma

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
Member Avatar for ceyesuma
0
303
Member Avatar for Chair

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#
Member Avatar for Chair
0
9K
Member Avatar for serkan sendur

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
Member Avatar for khachool
-1
706
Member Avatar for Noob_Programmer

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
Member Avatar for griswolf
0
101
Member Avatar for SakuraPink

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++
Member Avatar for SakuraPink
0
221
Member Avatar for Tellalca

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 …

Software Development java mysql ubuntu
Member Avatar for peter_budo
0
195
Member Avatar for terabyte

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
Member Avatar for d5e5
0
109
Member Avatar for mudi12

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.*; …

Software Development java oop
Member Avatar for mudi12
0
263
Member Avatar for leo88

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 …

Software Development c# dataset vb.net
Member Avatar for leo88
0
294
Member Avatar for masterofpuppets

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
Member Avatar for masterofpuppets
0
291
Member Avatar for Labdabeta

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++
Member Avatar for Labdabeta
0
105
Member Avatar for stevanity

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
Member Avatar for stevanity
0
441
Member Avatar for MareoRaft

[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++
Member Avatar for NathanOliver
0
7K
Member Avatar for Bubbleboy

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
Member Avatar for Bubbleboy
0
3K
Member Avatar for masterofpuppets

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
Member Avatar for masterofpuppets
0
258
Member Avatar for killingmonk

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++
Member Avatar for killingmonk
0
222
Member Avatar for WildBamaBoy

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
Member Avatar for WildBamaBoy
0
538
Member Avatar for amalwit

[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
Member Avatar for JamesCherrill
0
163
Member Avatar for Triarius

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
Member Avatar for vidit_X
0
104
Member Avatar for ZER09

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
Member Avatar for ZER09
0
4K
Member Avatar for wolfrain62

So I am kinda new to java and was given a program to do. a. Create one or more arrays to hold the names of the months and the number of days in each month. Assume that February always has 28 days. b. Display the contents of the array(s). c. …

Software Development java
Member Avatar for wolfrain62
0
109
Member Avatar for vishalrane

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
Member Avatar for sandeepparekh9
0
1K
Member Avatar for MrCapuchino

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
Member Avatar for MrCapuchino
0
2K
Member Avatar for SoulReaper1680

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
Member Avatar for SoulReaper1680
0
387
Member Avatar for laim

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++
Member Avatar for laim
0
128

The End.