132,728 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Stealthbird97

Ok, I know this has been asked before but I'm a new user to VB and don't know where to start. A Mate of mine is creating a Custom Minecraft Launcher useing VB for me. We have 2 text boxes Username and Password and what I want it to do …

Software Development encryption vb.net
Member Avatar for Reverend Jim
0
192
Member Avatar for dewdropz

I need to implement an algorithm for automatic modulation recognition using matlab. I am planning to do this by using pattern recognition, I have read about the decision tree approach, it says to "ideniify the constant envelope signals (CW, FM, FSK). PSK sigals are not considered as constant envelope signals, …

Software Development algorithm
Member Avatar for Taywin
0
460
Member Avatar for phsims

I have been working on Java game development for a few years.Obviously questions are going to be raised during the development period.I have come to notice that simple programming questions do not get answered by simple programming answers which are emphasised in lowering the morale of the questionaire and it …

Software Development java java-swing
Member Avatar for JamesCherrill
0
206
Member Avatar for VBRAY

Hi All: I have this code below that uses an open common dialog box to dispay 5 horse pictures. Does anyone have the code to display the pictures on the Form only by passing the horse picture names as parameters when I call the subprocedure in the mnuViewNext and mnuViewPrevious …

Software Development display image vb.net
Member Avatar for Maligui
0
357
Member Avatar for Stealthbird97

What code would i need to use in order to download a file from a webserver and then save it to a predefined folder? Then if a newer version of the file is available, Rename the old file and download the new one. Thansk for the help

Software Development vb.net
Member Avatar for Maligui
0
129
Member Avatar for tendaimare

when i use this code to save my datatable to the databaseit works well on the initial save save but when I access the database fill the datatable and then I delete some rows from the datatable and the "SAVE" the changes are not carried on to the database.How come …

Software Development vb.net
Member Avatar for Maligui
0
268
Member Avatar for drelix01

Hello guys, I made a simple program that Add, Saves, Edit & Retrieves Data from a MS Access DB... Dim arrImage() As Byte Dim strImage As String If Not IsNothing(Me.ImageBox.Image) Then Me.ImageBox.Image.Save(myMs, Me.ImageBox.Image.RawFormat) arrImage = myMs.GetBuffer strImage = "?" Else arrImage = Nothing strImage = "NULL" End If myqry = …

Member Avatar for Maligui
0
1K
Member Avatar for hackit

Hiii... I am a beginner to c#. I want to know how to get date from the console window in c#. As i want that on the console window user is asked to enter the date in (dd/mm/yy) format. And then i can extract the day in a variable iDay, …

Software Development
Member Avatar for Mike Askew
0
2K
Member Avatar for amitash

Hi, I have created a label template in Word and written a macro to print all records (see code below printAllRecords() and attachments) from an Excel datasource. The problem is when I press F2 (defined function key to print all records in my macro), it prints the 1st page once …

Software Development visual-basic
Member Avatar for AndreRet
0
848
Member Avatar for manhthaodn

Hi, I have load data method as follows: public List<SalesOrderHeader> Load_SaleOrderRelatedInfo() { try { using (var context = new AdventureWorksEntities()) { return context.SalesOrderHeaders.Include("SalesOrderDetails").OrderBy(so => so.SalesOrderNumber).ToList(); } } catch (Exception ex) { throw ex; } } and method for data binding: public static DataTable Binding_SaleOrderInfoRelated() { using (var services = new …

Software Development
Member Avatar for Mike Askew
0
602
Member Avatar for napninjanx

For Windows Mac Linux etc How Do I make awesome applications and what do i meed to know when designing them? like what skills do you need?

Software Development
0
87
Member Avatar for vivekanand.rai.31

i am making a application using java swing drag and drop property how can i add a calender without coding

Software Development java java-swing
Member Avatar for softswing
0
151
Member Avatar for agwx2

Hello, I am new to java, and I need help with images. I am trying to move an image up the screen while still allowing another image to move using the arrow keys. If I use `thread.sleep` to move the image, I cant move my other image at the same …

Software Development image java
Member Avatar for agwx2
0
293
Member Avatar for uvray90

BEGIN { via["AIRTEL_WHITE"] = 0 via["AIRTEL_WAP"] = 0 via["_321_44"] = 0 via["_321_555"] = 0 count=0 } { for(var in via) { if($5 ~ /var/) { count++ via[var] = via[var]++; } #print $5 } } END{ for(var in via) { if(via[var] != 0) { print var "->" via[var] } } print …

Software Development shell-scripting
Member Avatar for uvray90
0
231
Member Avatar for userIT

Given the trace program below. I basically need to store a 1 or a 0 to the corresponding `a[r[i]]` the problem is I need to be able to keep track of the index of vectors zero and one to check the last index that was used for each vector. For …

Software Development c++
Member Avatar for userIT
0
184
Member Avatar for apking

Hi Friends Iam newbie to vb.net .iam creating a registration form.iam also creating database table in sql server.now how to store record in that table.how to do this? regards apking

Software Development sql vb.net
Member Avatar for khia02
0
4K
Member Avatar for XerX

Hello. I want to make a File->Open menu functionality to this program. In JMenuBar I think I create everything correctly but it doesn't display when I run it. How do I display it and make the Open functionality work? package oimg; import java.io.*; import java.net.*; import java.awt.*; import java.awt.event.*; import …

Software Development image java java-swing
Member Avatar for NormR1
0
607
Member Avatar for dot_binary

Does anyone know of a header file for windows with a function that enables the execution of code once every specified number of milliseconds, something that can be used like this: if ( delay(5) ){ // do something every 5 milliseconds } If it's in microseconds is even better. If …

Software Development c++
Member Avatar for Ancient Dragon
0
3K
Member Avatar for CoolGamer48

Hey, I'm a C++ programmer, but I'm beginning to learn Java, and from what I see so far the two languages are very similar. The main difference I hear is that C++ has pointers and Java doesn't, but from my understanding Java does have pointers in a sense, the user …

Software Development java
Member Avatar for stultuske
0
907
Member Avatar for dinohead

a simple question, i just can't get around at the moment - if i may if unsigned char *s = 42006f, how can I split/select the hex value into its pairs i.e 42/00/6f using portable ansi c. thanks!!

Software Development c
Member Avatar for WaltP
0
115
Member Avatar for Donnovan

I was wondering if a function of the form public String GetString { get { return stringValue } } is faster than a fucntion of the form public void GetString(out String value) { value = stringValue; } :)

Software Development
Member Avatar for Donnovan
0
137
Member Avatar for buzmay

Hi, I am trying to do a calculator for celcius to farenheit and viceversa. However I cannot understand why my program does not work. After reading the scanner it does anything and I really do not know why. Could anybody give me a hand here is what i have gotten …

Software Development java
Member Avatar for JamesCherrill
0
178
Member Avatar for phorce

Hello, I'm trying to read the header information of a .wav file and I'm kind of stuck. Basically, the header information is located at different offsets in the file. So for example: (0-4) = ChunkID (4-8) = ChunkSize (8-12) = Format .. .. .. .. .. .. From this: https://ccrma.stanford.edu/courses/422/projects/WaveFormat/ …

Software Development c++ file-system
Member Avatar for np complete
0
280
Member Avatar for np complete

This is the famous counterfeit coin game in C++. # include <iostream> # include <cstring> # include <ctime> # include <cstdlib> # define coinVal 2; using namespace std; void gameInfo(); void generateGame(); void playGame(); int coins, counterfeitCoin; char typeOfCounterfeit; int main() { gameInfo(); generateGame(); } void gameInfo() { cout<<" Enter …

Software Development c++ gaming
Member Avatar for np complete
0
818
Member Avatar for amar11372

In my hw problem there is this code #include <iostream> using namespace std; int fun(int x) { if (x <= 0) return 0; if (x >= 9 && x % 2 == 1) return x - 1; if (x >= 9 || x % 3 == 0) return x - …

Software Development c++
Member Avatar for DeanMSands3
0
123
Member Avatar for triumphost

What are some safe sized datatypes? Inother words, stuff like size_t, uint32_t. They don't seem to change no matter what machine I use. I'm asking because the confusion comes in here: I'm not sure when to use long vs int. I did a sizeof(int) and sizeof(long) and they are both …

Software Development c++
Member Avatar for deceptikon
0
161
Member Avatar for srinivas88

Hi, i m trying to ssh to a server and run a exe on that using a script file - runremote.sh All the prints generated by the exe on remote are being displayed on server 1 from where i have executed the script . But after sometime, the execution stops …

Software Development shell-scripting
Member Avatar for ennoil
0
273
Member Avatar for coroll

Hi, Im developing a game. When the human gets his turn i want to display a JFrame with some buttons. So the game must wait until the user clicks on a button. Also i want to identify which button is clicked. I read that JOptionPna gets any component as a …

Software Development java
Member Avatar for Taios
0
288
Member Avatar for vikingsheepman

Hello all! I have used this forum many times in the past to solve a variety of programming related problems, but am truly stumped on a segfault within a binary search tree. I have isolated the segfault to a fscanf statement that look legitamate to me. The following code blocks …

Software Development c data-structure
Member Avatar for vikingsheepman
0
267
Member Avatar for Mike Askew

Say I have the below example, the syntax is based off constuctor chaining for clarity (and my cluelessness). public static void Feed() : this("Unknown"){} public static void Feed(string FoodType) { if (Food != "Unknown") Console.WriteLine("{0} eats some {1}.", Name, Food); } How would I actually implement this for methods? It …

Software Development
Member Avatar for Mike Askew
0
145
Member Avatar for ezekel

I need some help on how can i put some Event handler on my Button mybtn using code. private void button1_Click(object sender, EventArgs e) { Button mybtn = new Button(); mybtn.Text = "First"; FlowLayoutPanel flowlayoutpl = new FlowLayoutPanel(); flp.Controls.Add(mybtn); panel.Controls.Add(flowlayoutpl); }

Software Development
Member Avatar for ezekel
0
113
Member Avatar for boiishuvo

I made a simple program - conservative sequence integers with a sum, for example input: 15, the output should be 1, 2, 3, 4, 5 I made this program in c++ and it worked successfully, see below: #include <iostream> #include <string> using namespace std; int main() { int num, i, …

Software Development c++ java mathematics
Member Avatar for Taywin
0
266
Member Avatar for Abdulkarim

Hello everyone, What a programmer can do to help a researcher in his or her research? Any contribution? In other words, if you were a programmer and conducting a research where the reserach has nothing to do with programming, what would you be able to get advantage and contribute to …

Software Development
Member Avatar for gusano79
0
98
Member Avatar for opman234

Please help me. I want to connect to mysql using the connection string from connectionstrings.com. It gives me error that: format θƒ the initialzation string does not conform to specification starting at index 13. Please help me.... •̸ŤђαϞĸs ĩ̷̊ñ advance

Software Development mysql vb.net
Member Avatar for gusano79
0
99
Member Avatar for kb2k8

Hello, I need some help with these simple questions. I am a first year IT college student and I do not know how to apply math.pow to these statements. Given the following expressions, re-write them as Java expressions using some parentheses to indicate a sequence of operator evaluation. 1. v …

Software Development java
Member Avatar for kb2k8
0
145
Member Avatar for yeeitsneo

hi. so i need help in understanding this program. its a hindu arabic - roman numeral converter. i got it from some site. i cant seem to understand how the whole process goes. Const sMatrix As String = "I~V~X~L~C~D~M" Private Function toroman(ByVal sDecNum As String) As String Text1.Text = sDecNum …

Software Development mathematics visual-basic
Member Avatar for yeeitsneo
0
253
Member Avatar for clarisaduta

llo all,* im trying to build a simple software to modify words. from undesirable content from the internet for example : f*cking into sexual intercourse or something like that im very new into programming so any ideas would help me a lot. thanks

Software Development c++
Member Avatar for Lucaci Andrew
0
300
Member Avatar for jakkaprashanthi

**Bold Text Here**please send a c++ program to implement stack push and pop operations using random number generatos

Software Development c++
Member Avatar for Lucaci Andrew
0
158
Member Avatar for johncornelius23

this is my code for the login form using ms access would someone please help me? Everytime I run the program, it usually says connection cannot be used. If I would debug the program it will highlight "rspassword.Open "Select * from table1" I also used a module here Public rs …

Member Avatar for AndreRet
0
139
Member Avatar for LinkedList

Hey guys. I want to create an application for my PC in JAVA which can communicate with my CELL phone via Bluetooth. I just want it to receive text chats send by cell over bluetooth connection and be able to display them in appropriate format. I have good knowledge of …

Software Development java
Member Avatar for hatebin
0
264
Member Avatar for Johannady2

This is our longquiz from this morning. don't worry.. I am not cheating off a quiz.. it's already 22:00 o'clock where I am. this quiz was on 8am. I am studying for our final exam tomorrow. we weren't told the right answers.. and I don't have a book right now …

Software Development gui java java-swing storage user-interface
Member Avatar for DrEinstein
0
317
Member Avatar for prancode

Hi, i'm working on a grid, where the data can be saved, modified and deleted from the grid and effects in the database. I have a problem,i.e after I enter data in one row and goto the next row, the next row automatically gets filled by the same data as …

Software Development vb.net
Member Avatar for prancode
0
300
Member Avatar for Viped

Hi, I want to do program that reads different news sites and lists headlines. How this should be done? How to read the data from the web sites?

Software Development java
Member Avatar for YahooTR
0
89
Member Avatar for M.Waqas Aslam

hello ! i am working on a telerik reports , i worked on them in asp.net and we can just pass parameters to the report by by just doing this Response.Redirect("rptReportViewerTelerik.aspx?report=rptInvestmentAnalysis&fromDate=" + txtFDate.Text + "&toDate=" + txtTDate.Text + "&doctorTypeID=" + txtDType.Text + "&investmentTypeID=" + txtSegType.Text + "&locationID=" + txtLocation.Text); but …

Software Development
Member Avatar for Donnovan
0
139
Member Avatar for kneiel

[code] class A { public: A() { cout<<"ctor A\n"; } virtual void func(int x) { cout<<"\nsj\n"; } }; int _tmain(int argc, _TCHAR* argv[]) { A objA; int *vptr = (int *)*((int *)&objA);// address of the virtual table typedef void (*fnptr)(int); fnptr f; f = (fnptr)*((int *)vptr+0);// address of func() within …

Software Development c c# c++
Member Avatar for AliceJohn123
0
698
Member Avatar for vivekarora

Hello Friends, As we know, when we have virtual function in our class, compiler smartly puts vptr(virtual table pointer) in our class to access correct function at run time. Can i access this vptr in my program, to use/manipulate this directly? Regards, Vivek

Software Development c++
Member Avatar for AliceJohn123
0
3K
Member Avatar for themaj

I have a dataset (GrindItems) with 4 datatables successfully populated from dbf files. If I understand the concept of a dataset, I no longer need an open connection to the source db and I should be able to query my dataset. My first question is whether I need a Connection …

Software Development dataset sql vb.net
Member Avatar for themaj
0
2K
Member Avatar for phorce

Hello, wondering if someone can help me. I'm working with a .wav file, and, I need to collect the header information. The header contains (roughly, 20 bits/bytes) before the actual data. And, each of this data is contained at different locations in the file. I need to read a particular …

Software Development c++
Member Avatar for phorce
0
179
Member Avatar for I_m_rude

I request every body on DAniweb.com that please , if any body knows about segment tree, then please either explain me it's update, making otherwise give me solid links so that i can learn from there. IT'S REALLY PATHETIC SITUATION AS I AM NOT GETTING THIS FROM WEEKS. PLEASE IT'S …

Software Development c
Member Avatar for I_m_rude
0
99
Member Avatar for vikrantiitr

Here is the problem:-[Click Here](https://docs.google.com/document/d/1m-Jh1lFGf46NtrVJDYbETGVY_uGgxsKivYPMaBqI26k/edit). .I have been trying it for more time but not getting how to solve the polynomial equation after converting from base 'b' to decimal i.e. my algorithm is:- size of array = max(A.size(),B.size(),Z.size()); store A in array as int; add B as int element by …

Software Development algorithm c++
Member Avatar for vikrantiitr
0
132

The End.