132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for deletedaccount

Hi. I am making a Anti-Virus (almost complete) however I would like to know how to make a custom 'Run As Administrator' dialog. Before you tell me this isn't possible, I do not mean I would like to replace the Windows 'Run As Administrator' dialog, I would just like to …

Software Development vb.net windows-virus
Member Avatar for Firstgamefreak
0
234
Member Avatar for rahulzephyr

Hi,,,In my C# windows form, blinking and flickering occurs when i'm running the application.The form blinking occurs more times in Win 7 than Win XP.The form blinks when im opening the application and also when another form opens by button click. Can anyone tell me how to avoid that blinking …

Software Development microsoft social-media
Member Avatar for rahulzephyr
0
296
Member Avatar for marirs07

Hi, Im quite new to SerilaPort handling.Im trying to open a serial communication on a particular COM port.Im able to Open a new one by using CreateFile(L\\\\.\\Com5, GENERIC_READ | GENERIC_WRITE, 0, // exclusive access NULL, // no security OPEN_EXISTING, 0, // no overlapped I/O NULL); But I want to do …

Software Development c++
Member Avatar for BobS0327
0
393
Member Avatar for Start4me

I've trying to figure out how to do this, but errors didn't stop flooding me. The following code works fine: For i = 1 To 50 Me.Controls("CheckBox" & i).Visible = True Next i But when I modify it to: For i = 1 To 50 Me.Controls("CheckBox" & i).Checked = False …

Software Development vb.net
Member Avatar for Reverend Jim
0
335
Member Avatar for alagez

Hi there, Guys I need help in understanding the this code. Because I have been asked my lecturer to use the existing code and propose a problem through any journals which have connection with neural network and demonstrate it using the codes. Before selecting any journal, first I need to …

Software Development python
Member Avatar for alagez
0
576
Member Avatar for OM3NN

Hello, please help me to resolve these question c++, I try to answerd it but i do not understand anythings(": 1- A program should red in values until a negative value is read. It should determine the smallest value that was read and display that value once the loop stops: …

Software Development c++
Member Avatar for pritaeas
0
250
Member Avatar for GagaCode

hey all i have another little issue it's regarding the databinding here and what i'm trying to do here is to get some data from access to my programme how ever the code only work for the first and when i try to invoke it again it give's me the …

Software Development
0
110
Member Avatar for sing1006

for(int i = 0; i < program.size(); i++) if(program.get(i).contains(remp)) with the coding above, i can search and display all string in my arraylist that contains "hit2080". for example HIT2080___Introduction to Programming___ALL___Core___NULL___NULL HIT1307___Internet Technologies___ALL___Core___NULL___HIT2080 but i just want to search and display the first token that contains string "hit2080". Is there …

Software Development java seo
Member Avatar for sing1006
0
288
Member Avatar for senait.kifle.127

Hello everyone, I was given this assignment, but I am stuck. Your help is appreciated :) 1.Ask for a desired accuracy epsilon for the to approximate value of \pi. 2. Use the Leibniz series to approximate pi. 3.Check after each iteration step wether the value of the last summand | …

Software Development c
Member Avatar for cgeier
0
4K
Member Avatar for RonKevinT.Manuela

I have a problem with my code in deleting of a record in datagridview and database(see attatchment)...for some reason I cant delete the data in my database...heres the code: private void btnDelete_Click(object sender, EventArgs e) { int selectedindex=dataGridView1.CurrentCell.RowIndex; string deleted; try { cnn.Open(); if (MessageBox.Show("Are you sure you want to …

Software Development c# vb.net video
Member Avatar for ChrisHunter
0
258
Member Avatar for rahulzephyr

Hello,I wanna decrese the size of my windows application projesct.Actually i'm using many animated pictures in my projects so that might be the reason for larger size. Is there any other way to reduce the exe file..will it get reduced if load the pictures dynamically from outside folder??if it is …

Software Development file-system image
Member Avatar for rahulzephyr
0
395
Member Avatar for Doogledude123

I know with Lists you can instantiate them to an ArrayList, but is this generally a good idea? Is it better to do 'List<?> list = new ArrayList<?>();' rather then 'ArrayList<?> aList = new ArrayList<?>();'?

Software Development java
Member Avatar for JamesCherrill
0
182
Member Avatar for PerplexedB

I have this routine that works in outlook 2010 but not in outlook 2013 (365). ` Public Sub readTextFile(oFolder As eFolder) If oFolder = NotSupported Then Exit Sub If oFolder = Inbox Then ActiveExplorer.CurrentView = Application.GetNamespace("MAPI").GetDefaultFolder(olFolderInbox).Views("MgInbox") Else ActiveExplorer.CurrentView = Application.GetNamespace("MAPI").GetDefaultFolder(olFolderSentMail).Views("MgSentMail") End If Dim oTV As Outlook.TableView Set oTV = ActiveExplorer.CurrentView …

Software Development visual-basic
Member Avatar for PerplexedB
0
388
Member Avatar for Black_Falcon

Hey guys, I just wanted to know how exactly can i change the location from pbx1 to pbx1_1. Its a card game and as soon as i click on pbx1 it must move to pbx1_1, But im not sure how to do that.Please help public partial class Form1 : Form …

Software Development
Member Avatar for ChrisHunter
0
134
Member Avatar for devonrichards

Hello noob here. I'm doing a program where we are campground managers and in the third form do campground housing I'm stuck in the final part of the third form where we must take the inputs of both list and be able to add and remove occupancy. Cabins Occupants Cabin …

Software Development vb.net
Member Avatar for devonrichards
0
205
Member Avatar for vuze

i have this code import wx import datetime,re,os,time,urllib,errno import sys import wx.lib.mixins.listctrl as listmix musicdata = { 0 : ("Bad English", "The Price Of Love", "Rock"), 1 : ("DNA featuring Suzanne Vega", "Tom's Diner", "Rock"), 2 : ("George Michael", "Praying For Time", "Rock"), 3 : ("Gloria Estefan", "Here We Are", …

Software Development python
Member Avatar for woooee
0
348
Member Avatar for shelton22

Hi Friends! If I have number of arrays with fixed size (15), it consist of zeros and non-zeros. eg: array1[15]={5,5,0,0,4,4,4,0,0,0,1,0,0,0,3} array2[15]={1,0,0,0,0,7,7,0,0,3,0,0,0,0,2} array3[15]={6,6,6,0,8,8,8,0,0,0,3,3,0,0,4} ........... How can I count the common zero sequences and there indexes of arrays? sample output for the above arrays: Index Nim_of_zeros 3 1 7 2 12 2 …

Software Development c++
Member Avatar for iamthwee
0
511
Member Avatar for pspwxp fan

Hi, My task is to create a library/precompiled header for use with MASM. I am using Code:Blocks. I have googled quite a bit and haven't come up with an appropriate solution. I was hoping someone could point me in the right direction. This is what i have done so far: …

Software Development c
Member Avatar for Ancient Dragon
0
2K
Member Avatar for Doogledude123

I know you can create nested classed (or just classes declared outside of the class in the same file) but what is the point of doing this? Why not just create a new class file?

Software Development java programming-construct
Member Avatar for JamesCherrill
0
203
Member Avatar for GagaCode

hey all, i have a little issue here with the below however the wired thing that i encoutred is that the below code run only for one time perfectly and when i invoked it again it displayes the error : " The ConnectionString property has not been initialized. " private …

Software Development microsoft-access
Member Avatar for GagaCode
0
322
Member Avatar for XodoX

I found this site http://www.guyrutenberg.com/2007/09/22/profiling-code-using-clock_gettime/ If I have a server-client code and this: clock_gettime(CLOCK_REALTIME, &time_a); // create socket clock_gettime(CLOCK_REALTIME, &time_b); // close socket If I have a and b wand want to measure the time it takes to communicate, what's the best way ? Still not fully understanding the exact …

Software Development c++
Member Avatar for NathanOliver
0
263
Member Avatar for Za3mi

I am a new to assembly and i am asked to multiply two 3x3 matrices and then show the given result. I am having problem in multiplication as mov al,5 mov bl,6 imul bl but how to print it?? i know the result will be in ax register but i …

Software Development assembly mathematics
Member Avatar for Za3mi
0
2K
Member Avatar for gbhs

Hi I have a Help.doc file in my application. How can I open this file on a winform to page 2 (say)? How can I open it to page 2 using a WebBrowser control? 'Microsoft.Office.Interop.Word added Private Sub OpenMyWordDoc() Dim MyWordApp As Word.Application Dim MyDoc As Word.Document MyWordApp = CreateObject("Word.Application") …

Software Development microsoft-office vb.net
Member Avatar for cgeier
0
448
Member Avatar for XodoX

I have some experience with client-server codes. TCP and udp client. I want to know how a stream socket works with HTTP. This client is for a server-client code where the greatest common divisor is calculated and displayed. #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <string.h> #include <sys/types.h> …

Software Development c client-server http-protocol tcp-udp
Member Avatar for Banfa
0
260
Member Avatar for wizard25

Hi, I have an assignment. I need to write code in logic programming language SWI-Prolog. Its very hard and I am going to appreciate if you help me :D. This is the assigment: Print 2D array size of (width x height) in spiral order. More explanation and example: You have …

Software Development matrix-multiplication
Member Avatar for TrustyTony
0
772
Member Avatar for nutandevjoshi

I dont know is it usful? Its now Oracle , not SUN ,please tell me whether this book wil be helpful for exam?Thanks!

Software Development java oracle
Member Avatar for jwenting
0
219
Member Avatar for smartguy360

I tried dreamincode but the mods there all seem to be on their periods tonight so i have come here to humbly beg for help. First off let me start by saying I'm a new programmer and I am frustrated and cofused by the class i'm in prg 420. I …

Software Development data-structure gui ide java java-swing oop
Member Avatar for jwenting
0
394
Member Avatar for glamiex

//Reading the last name from the file ifstream file; file.open("studentName.txt"); char name[20] ; file>>name; cout<<"The last user was: "<<name<<"\n"; file.close(); //Replace the last student name with the new one in the text file cout<<"What is your name?: "; cin>>name; name[0]=toupper(name[0]); ofstream file2; file2.open("studentName.txt"); file2<<name; file2.close(); When I run the program …

Software Development c++
Member Avatar for wrathness
0
183
Member Avatar for flebber

What I am trying to acheive is to parse an xml file break it up into useful components and push it to a multi table SQL database. But I cannot get off the ground in the basics. Take an xml file like this [Click Here](http://old.racingnsw.com.au/Site/_content/racebooks/20140513HAWK0.xml) Which at the start is …

Software Development career python xml
Member Avatar for Gribouillis
0
1K
Member Avatar for k.vijayakumar

HI, I have a common page (sqlhelper.cs) where i am preparing command and executing execnonquery,... But veracode addressed sql injection flaw 89 in the following code saying issue with parameters. How can skip this verification?. any extra validations i need to put in the following code? Please help. private static …

Software Development sql
Member Avatar for k.vijayakumar
0
318
Member Avatar for hwoarang69

# I am using: # -- Libgdx and Box2d. ------------- # what I am trying to do: # -- I want enemy to move right and left. if enemy hits the wall than move the over way. ---- # My plan: # -- I have two senors set up on …

Software Development java
Member Avatar for JamesCherrill
0
351
Member Avatar for Techboy52

//My objective of the program is using scanner class to get the input from the user and use a dialog box(JOptionPane) for output. When I compile the file I was able to enter the input from the scanner class, but I did not see the dialog box for the output …

Software Development java java-swing
Member Avatar for stultuske
0
4K
Member Avatar for Sadaf_1

Salam... I have SQl Database...And i am using visual basic 2010 i have a problem with Null values.When in my database data have some null values then data not showing in my crystal report ...crystal report showing blank..I want '0' when data is null..for example my table name is (meetings …

Software Development vb.net visual-basic
Member Avatar for Reverend Jim
0
342
Member Avatar for abey ella

i am working in a bank and am working on project to write a program that will work on touch screen kiosk and make customer flow management easier but i don know what programing language i can you and how can i do it , and what algorithm to use …

Software Development algorithm queue
Member Avatar for abey ella
0
280
Member Avatar for umaima_1

//When ever I add TextFields the frame disappears.line 73-76,108-111; import javax.swing.*; import java.awt.*; import java.awt.event.*; public class fitness extends JFrame { private double height=13.5; private double weight=45.3; private int age=20; private String sex="Male"; public fitness(int x){ this.age=x; } public fitness (double wei,double hei){ this.weight=wei; this.height=hei; } public fitness (double height,double …

Software Development gui java java-swing
Member Avatar for mKorbel
0
201
Member Avatar for mcdczzz

it posible to save multiple file directory using listbox?how would i do it?

Software Development file-system visual-basic
0
105
Member Avatar for kevndcks

Hello developers, i have got a problem that i have been trying to solve all day and would be glad if anyone here can help. I have a Java port scanning application which scans for open ports and displays the results in a textarea called "taOutput" when the user clicks …

Software Development java
Member Avatar for happygeek
0
3K
Member Avatar for Damian_2

Okay so i'm trying to make a chat application using sockets, and i want them both to be able to write and read simultaneously. So i did some research and found that I/O multiplexing like select() will fix this problem. But I still have one problem. After I compile it …

Software Development client-server
Member Avatar for Damian_2
0
11K
Member Avatar for Mr.UNOwen

Hello, So I'm aware that OpenGL is Column major and DirectX is Row major, but how does that translate into a basic 1D array? So given the below visual matrix, what would the first 3 in the array of each platform and which 3 would be the x,y and z …

Software Development c++ matrix-multiplication opengl
Member Avatar for Mr.UNOwen
0
2K
Member Avatar for Moiz_1

Hello Anyone could you help i have got a strange problem when i update any record i get an error 2147467259 -(8000405) Insert Field failed. Where as on the same application i can add a new record. Please see below the code i have used dont know where am going …

Software Development mysql visual-basic
Member Avatar for Daemon_CC
0
512
Member Avatar for Jsplinter

I have an array of 3,000 floats: `float *mVec = new float[3000];` and I need to take the log of each element. I am translating MATLAB code, in which everything is vectorized (ie, log(mVec) does some parallelization behind the scenes). There must be a better way to do this than …

Software Development c++
Member Avatar for mike_2000_17
0
205
Member Avatar for airhalynn101

Is it possible to make a textbox format inputted text into currency form (with comma separators and two decimal places) during input? I have tried formatting currencies from textbox input (after typing the text or after clicking a button) but is this possible during input (I mean, while you are …

Software Development display vb.net
Member Avatar for airhalynn101
0
1K
Member Avatar for glamiex

private: GradedActivity *grades[NUM_GRADES]; public: void setLab(GradedActivity *activity) { grades[LAB] = activity; } Totally confused with this one.

Software Development c++
Member Avatar for rubberman
0
207
Member Avatar for tirumalai

I have the table called cardstatus. It contains the following details. 1. SlNo - Number 2. Product - Text 3. SProduct - Text 4. JobNo - Text 5. Description - Text 6. SubAssemblyNo - Text 7. PlanNo - Text 8. PlanDate - Date/Time 9. WONo - Text 10. WODate - …

Software Development vb.net
Member Avatar for Reverend Jim
0
149
Member Avatar for tirumalai
Member Avatar for Reverend Jim
0
89
Member Avatar for taylorjames01

Hi I'm new to programming but have learned pretty fast and have most of my small application figured out. But the part that I'm working on now has got me. I have a form with some text boxes that after they are filled out get added as a new row …

Software Development dataset vb.net
Member Avatar for taylorjames01
0
273
Member Avatar for castajiz_2

What is the best way to download the html content from another site and display it into my website? What is the best built in class to use for this case?

Software Development asp.net
Member Avatar for castajiz_2
0
106
Member Avatar for liamfriel

Hello all, I am working through Beginning Microsoft Visual C# 2008 I was asked to create a console application that multiplies 4 input values. I decided to take all 4 values at once and multiply them. Here is my code: string inputNumbers; string userName; Console.WriteLine("Enter your name:"); userName = Console.ReadLine(); …

Software Development
Member Avatar for castajiz_2
0
232
Member Avatar for Himanshu Chawla

I am preparing for my exams and i just found this question from previous question papers: Give the C Expression for the following algebric expression : 1. ab^4c^2-d/m-n 2. ab-[{(e+f)^9}/c}] Please help me as i am preparing for my exams and haven't read this topic yet. help plz

Software Development c
Member Avatar for iamthwee
0
241
Member Avatar for ivan3510

Hi! A task was to solve a problem using threads (sum up two arrays), but so that you have a global const which will represent number of threads you want to use. Somehow, this doesn't work, and Im not sure if this is correct way to do it. Thanks for …

Software Development c++
Member Avatar for ivan3510
0
4K

The End.