132,726 Archived Topics
Remove Filter ![]() | |
I followed a tutorial online on how to create a obj file parser, so far my parser reads a obj file and stores all the vertices into a struct named coordinate. Am not quite sure, how to use the coordinates in my struct in my main graphic pipeline My parser: … Software Development c++ file-system | |
Hey guys,I'm new,but I study C programming language and I have this awfull problem. I have make a matrix A[n][n],in which n is an odd positive number(of course),and the matrix must "unwrap" itself with the number 1 in the middle then 2 to the top,then clockwise 3,4,5,..etc,until it wraps the … Software Development algorithm c matrix-multiplication | |
I'm in the middle of reading "Windows Internals 6th edition", and after mentioning 32 bit threads running on 64 bit Windows have 3 stacks, one user-mode 32-bit, a 64-bit user-mode, and a kernel-mode stack (along with a 32 bit CONTEXT and a 64 bit CONTEXT "block")--when it proceeds to explain … Software Development c++ | |
using System.Collections.Generic; using System.Windows.Forms; namespace LandTransfer { static class Program { /// <summary> /// The main entry point for the application. /// </summary> public static int code = 0; //C:/LandTransfer/Database/ public static string database = "//192.168.1.24/LandTransfer/Database/LTMS.mdb"; public static string source = "Provider = Microsoft.Jet.OLEDB.4.0;Data Source=" + database + ""; [STAThread] … Software Development | |
While I know some Python language I just can seem to make thi work: So I have this script that when you post a command: -ytb [search terms], it would look up the video in an atom feed from yuotube, could you tell me what I have wroong here? Because … Software Development api python streaming-service | |
I am unable to execute the editProfile() method in MainMenu class. The purpose of the method is to be able to extract the bean values and display them on the empty textfield. I am not sure if i did it correctly. any recommendations for any changes to editProfile() method. public … Software Development java java-swing mysql | |
This small python script invokes the [Treeline](http://treeline.bellz.org/index.html) tree visualizer to display xml files in a pleasant way.  | |
i'm trying to show date in a text field this is what I did java.util.Date date=new java.util.Date(); this.DateObject.setText(date); and its wrong... please help & thank you. | |
I have datagridview which is populated with 3 columns partno,locality,houseno. Initially my row colour would be say light blue. Now what i want is whenever houseno changes in row,its row colour should be changed to say grey. That means whenever houseno changes,these two colours should be alternately applied to rows … Software Development vb.net | |
when i need to install the vb6 project to network pcs this error is show : The program cant start because ActiveX Tools.dll is missing from your computer. Try to install the program to fix this problem. i search on internet for the dll required but i am not find … Software Development visual-basic | |
Hello everyone. I am making a form to backup my Ms-Access database in vb 6.0. I have a textbox (txtdestination) a progress bar (progstat) a command button (cmdbackup) and a few labels to show different info. I have the following code in my backup form : Dim mintCount As Integer, … Software Development visual-basic | |
I have an int64_t value which I'm trying to write to a file. `fwrite(&page->id,sizeof(page->id),1,tid); if the value of page->id == 00 00 00 00 00 00 00 03, then the variable is written correctly as 03 00 00 00 00 00 00 00. However, if the value is 00 00 … Software Development c | |
I need some help here. I keep getting the same error over and over again. And I can't understand why I am getting this error while in fact I am using the correct username and password with write capitalization. I am encountering this problem in attaching dataset in my datagridview … | |
I got win32 application, that runs a infinite for loop, which increment a value inside the loop. the problem am having is that my application become unresponsive and uses alot of CPU when compiled. case IDM_ROTATION: for(int i = 0; i < 4; i++) { i = 0; rotation += … Software Development c++ windows-api | |
Can mobile phones run c++ compilers such as borland and turbo? If yes pls do tell where i can download them thanks Software Development c++ | |
Hi Everyone, I have been trying to post a code by I am not able to do it; I might the wrong but I am following all the rules; I don't know what else to do; please help. I will try to copy as follows (it might works) :) #include … Software Development c++ | |
My objective is to read in a line from a text file, then search that line for a particular set of characters/numbers, and finally, if the line contains the particulars, write the line to another file. I am fine with all of the coding, except the part of searching the … Software Development c++ file-system | |
I am new to python web frameworks. I am using web.py because I like how raw it is. I am wondering though, how one can produce pages and scripts efficiently when being restricted to sending output through the return keyword? It seems like for any python module you can only … Software Development php python web-browser | |
word = textBox1.Text; Process myprocess = new Process(); myprocess.StartInfo.FileName = @"C:\Users\Public\Desktop\Cambridge Advanced Learner's Dictionary - 3rd Edition.lnk"; myprocess.Start(); I'm trying to automate a 3rd party app using c# code. I know how to invoke the main window of the app through code using something like this.. but I dont know … Software Development | |
My aim is to fill a 3x3 grid of Jtextfield in java swing with values and position of entry in that grid sourced from a text file.I made a file named aa.txt. Its contents are:- a1-3 b3-9 c2-4 a1,b3,c2,... are names of textfields in grid and numbers separated by hyphen … Software Development algorithm file-system java java-swing | |
I am attempting to make a TicTacToe in java using Swing. Instead of using buttons for mark(x and o) placing on 3x3 grid, i used textfield(variable name- pos) to specify position of mark entering and another textfield(var name- val) to take value to insert it into the position which i … Software Development java java-swing | |
So I have been working on this project for quite some time and I can't figure out why I keep getting an "Illegal Start of Expression" error. I tried moving the variables above the main method and that only returned the same error but instead of the error occuring at … Software Development java | |
#include <iostream> class Hello { public: void Test() { std::cout << "Testing" << std::endl; } }; class Hi { public: Hi() :hello(new Hello()) {} ~Hi() { delete hello; } void Testing() const { hello->Test(); } private: Hello * hello; }; int main(int argc, char ** argv) { Hi hi; ; … Software Development c++ | |
I have this paint program and i'm having a very silly problem. I'm trying to set the paint area to west position using border layout but when i do that it doesn't show up when i run the program. if i set it in the center it shows up. everything … Software Development java java-swing | |
there is a picture file ( 40*100 ) and i wanna show this image in the background and so , this picture file should be repeated both horizontally and vertically as we do in Html and css Software Development html-css image visual-basic | |
Dear list, i am new to python as well as new to programming with no previous programming experience, i have to design GUI in python and implement multithreading in it, and also perform multithreading at servers in query handling. I checked so many web pages and tried to learn basics … Software Development gui multithreading python web-design | |
Hey, Guys and Gals. For some reason the variable text_list seems to be modified after the variable final has been modified. text_list is a list of text :) Full code is below. Any other hints and tips would be great Thanks a bunch. decode_list = [] key = 0 final … Software Development python | |
I'm trying to make a calculator with Tkinter but I'm having trouble using a for loop to make the number buttons. I'm using a for loop as they are nearly identical. Here's the loop: class Calculation: def __init__(self,master): i=1 rowi=1 columni=0 self.num = "" self.button = [] frame=Frame(master) frame.grid() self.returnScreen … | |
**Hello everybody!** My program which is able to calculate your age, has been **updated!** See http://www.daniweb.com/software-development/cpp/threads/432997/age-calculator for the old version. The programs asks your **birthdate** and the **current date**. With that information, the program is able to calculate your age. It calculates the years, months and days. This program is … Software Development c++ | |
change the book or something? | |
In order to show a first run dialog (a window that appears before the main application starts if certain conditions are met) I have decided to modify the Main method and do this: static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); if (Properties.Settings.Default.FirstRun) { Application.Run(new RunOnce()); } Application.Run(new Main()); } Is this … Software Development | |
Hey I'm new to programming and to the forum. I am creating a simple inventory system that uses both modal and non-modal forms. My challenge is I created a change password form (modal) and it has a 'change password' button as well as a 'cancel' button. When i click cancel, … Software Development | |
class Emp { int name, emp_no, addrs, ph_no, deprtmnt, post, project; Emp(int a, int b, int c, int d, int e, int f, int g) { name=a; emp_no=b; addrs=c; ph_no=d; deprtmnt=e; post=f; project=g; } Emp(int a, int b, int c, int d) { name=a; emp_no=b; addrs=c; ph_no=d; } Emp(int a, … Software Development java | |
Hi DaniWeb Forums, The I'm making a simple timer. The label flashes every time the caption changes (this is the problem). See code below. If you run this, ensure to that timer interval property is 1000 for the timer and Label1 caption property is set to "". TY. Dim sec … Software Development visual-basic | |
hello i just need some advice and suggestions the program(will be using vb.net & matlab) is about security software for flash drives where the user is required to say something(eg. a password) that will open or explore the device. the thing is when the flash drive is plugged to the … Software Development cybersecurity pc-peripheral storage vb.net | |
Hello Everybody, i'm having a problem with my code. I'm making a word reverser program though I'm not that much knowledgeable about java. The output that I'm aiming for is something like this "olleH dlroW" by inputting "Hello World" string. I'm getting the output that I'm looking for when I'm … Software Development java | |
Hi, How can I do to get motherboard and processor serial number in VB6? I am able to get HD serial number with this code: Option Explicit Private Type DRIVEINFO HDDSerialNum As String End Type Private Sub Form_Load() Dim info As DRIVEINFO Dim objs As Object Dim obj As Object … Software Development visual-basic | |
namespace play_stop { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button4_Click(object sender, EventArgs e) { timer1.Interval = 1000; timer1.Start(); Counter = 0; } public void circles() { Graphics g = panel1.CreateGraphics(); g.DrawEllipse( new Pen(Color.Red),panel1.Width / 2, panel1.Height / 2,75, 75); Graphics h = … Software Development | |
Hi. I have a problem with launching my application as applet. The game runs fine as an application. my applet code: package net.viped.breakout; import java.applet.Applet; import java.awt.GridLayout; public class GameApplet extends Applet { Core core = new Core(); public void init() { setLayout(new GridLayout()); add(this.core); } public void start() { … | |
I'm making a little program with tkinter and trying to get this timer to work. I'm getting a "'float' is not callable" error. Does anyone know what I'm doing wrong? The error happens when it tries to call 'self.clock_start()' def create_widgets(self): #create the main frame self.root = Tk() self.root.title("Learning Timer") … Software Development mathematics python tkinter | |
hello, i have made the code below. however, when comparing the two strings they are not equal when in theory i thought they would be. String word="abc"; String d=""; d += "a"; d += "b"; d+= "c"; if(word==d) { System.out.println("IS EQUAL"); } When i just print out string d it … Software Development java | |
hello guyz!need help.. I have a txt file written like this 1,ben, 200.00 2,mike,300.00 I want to create a program that can search in the text file. I just only enter the ID number or the first number in the text file then the program will search that No. The … Software Development c++ | |
Hi all, I have another question. I am trying to use an update statement to update an item in a listbox. Please see below: Imports System.Data.SqlServerCe Public Class Edit_Sensor_Form ' Shared variables Dim con As SqlCeConnection = New SqlCeConnection("Data Source=C:\Users\Bryan\documents\visual studio 2010\Projects\SiteSecure v1.1\SiteSecure v1.1\Database1.sdf") Dim myDA As New SqlCeDataAdapter Dim … Software Development dataset open-source sql vb.net visual-studio | |
Hello! I'm currently running in to an issue where I need to loop through a specific log file until a string of text occurs, which indiciates that I can continue on with the application. Here is my code and logic: Dim process As New Process() Dim serverLog As String Dim … Software Development vb.net | |
Hi, I am brand new to using SQL with VB. I am trying to be able to insert data from any given row in my SQL table. The row to be inserted is selected by the user on a listbox on Form1. Here is my code: Imports System.Data.SqlServerCe Public Class … Software Development dataset open-source sql vb.net visual-studio | |
I need AT(ATtension) Commands for Mobile Easy Recharge. Currently i have using sim300_v7.02 gsm modem for my project. Now i need AT Command for Accessing the menu from sim. Also i need at commands for mobile easy recharge, easy recharge can be done through my sim card Software Development vb.net | |
> Write a recursive, bool-valued function, containsVowel, that accepts a string and returns true if the string contains a vowel. > A string contains a vowel if: > The first character of the string is a vowel, or > The rest of the string (beyond the first character) contains a … Software Development c++ | |
I need to write a program that can draw stuff on a frame, let's say, trees. Their IDs, colors, positions etc. are in a **txt file**, line by line, the first word of the line is the name of their type which will be the name of the subclass. These … | |
Run-time error '-2147217887 (80040e21)' Multiple-step operation errors. Check each status value. === The one highlighted was: **Adodc2.Recordset.Update** Private Sub Command1_Click() Adodc2.Recordset.AddNew Text13.Text = Label19.Caption Text14.Text = Label15.Caption Label5.Caption = Text6.Text + "-" + Text7.Text Label3.Caption = Text1.Text Label21.Caption = Text10.Text Text11.Text = Text6.Text Label17.Caption = Text3.Text + ", " + … Software Development visual-basic | |
hi all, i'm very - very newbie here, i need a help, i try to connect arduino with vb6, i want to display data from arduino to vb6, lets say the data is : "the distance : XX m", the problem is when i want to put data via mscomm.input … Software Development visual-basic |
The End.