132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for treasure2387

I know that C# is translated to MISL which is run by the CLR into machine code. .Net provides different languages such as VB and F# and C++. Are the different high level languages translated into the same MSIL language? Is there a difference between MSIL of C# and MISL …

Software Development
Member Avatar for treasure2387
0
156
Member Avatar for SLMQC

I am trying to create a form that allows a user to enter information and saves information to a file. Every item must be complete and the account balance must not be negative or error messages pop up. I have the form working, but when you click on the clear …

Software Development vb.net
Member Avatar for Reverend Jim
0
263
Member Avatar for zachattack05

There have been a total of 9 different versions of Visual Studio now going all the way back to 1995. My question is for those of you who use Visual Studio, how often have you upgraded your Visual Studio version? Going from 2005 to 2012 for example, not applying updates, …

Software Development visual-studio
Member Avatar for zachattack05
0
139
Member Avatar for vishalonne

I have 84 combo box inside 12 group box, in a group of 12. Combo Box are named as cb1,cb2,cb3,cb4,cb5,cb6,...... Group Box are named as gBox1,gBox2,gBox3,gBox4,gBox5,.... Now I want to save the item name in a variable when I select or change item of any combo box. I know that …

Software Development
Member Avatar for tinstaafl
0
216
Member Avatar for Violet_82

Hi all, I am reading a bit about inheritance, super classes and subclasses. Now when I build a java program I usually have a java file for the class and another one to test the class. I was wondering if I use a superclass and a subclass, should they be …

Software Development java
Member Avatar for Violet_82
0
362
Member Avatar for IT_Techno

i have create windows application using 2007 Access database and i have this code : if (!UserNameTextBox.Text.Trim().Equals("")) { errorProvider1.Clear(); if (!PasswordTextBox.Text.Trim().Equals("")) { errorProvider2.Clear(); if (!RePasswordTextBox.Text.Trim().Equals("")) { errorProvider3.Clear(); OleDbConnection conn = new OleDbConnection(System.Configuration.ConfigurationManager.ConnectionStrings["Lands.Properties.Settings.LandsConnectionString"].ConnectionString); try { conn.Open(); this.usersTableAdapter1.FillUser(landsDataSet.Users, UserNameTextBox.Text.Trim()); if (landsDataSet.Users.Rows.Count > 0) { errorProvider1.SetError(UserNameTextBox, "إسم المستخدم المدخل مستعمل من قبل الرجاء …

Software Development dataset
Member Avatar for IT_Techno
0
181
Member Avatar for jason.bennett.376258

hi There, i have made an AI player for the game Oware, i am looking to improve my programming in order to make my player stronger. can anyone help? here is my code import random #pots = [[1,2,8,4,2,6], [4,4,4,4,3,4]] def ai_player(pots, scoring_pits, turn, valid_moves): """ Input: pots: list of pot …

Software Development python
Member Avatar for gusano79
0
619
Member Avatar for SLMQC

I am trying to create a form that allows the user to search (Access database) for a record by last name or customer number. It can be a partial last name or customer number. The SQL statement and code are below. This is the same method used successfully for a …

Software Development microsoft microsoft-access sql vb.net
Member Avatar for G_Waddell
0
268
Member Avatar for jameslivsey

Hi, I'm having trouble writing a stored procedure in MS SQL SERVER. I have a table with 3 columns - REFERENCE, ID and AMOUNT. What I'm trying to do is SUM the AMOUNT based on different ID's for each REFERENCE. So it would be something like SUM(TBL.AMOUNT) WHERE ID IN …

Software Development
Member Avatar for gusano79
0
204
Member Avatar for Mr.M

Hi DW Well I'm new in java I'm using Visual Basic the most so now I just decided to cross platforms and start doing java, so there is a project that I'm trying to create in jave (I'm sorry for the namings just in case I don't use the right …

Software Development java visual-basic
Member Avatar for JamesCherrill
0
319
Member Avatar for zachattack05

I am attempting to replicate the grid you see below taken from a popular accounting software program. I'm not after the title bar or any of the other controls, just a data grid view that behaves like the one shown, kinda like a check register. Does anyone know if this …

Software Development
Member Avatar for zachattack05
0
267
Member Avatar for aps1003

I'm getting some error when compiling this code, could any one help me understand how to make primatives members of the iterator? template <class Type> void perfectShuffle(linkedListType<Type>& list) { linkedListIterator<int> tmp1; // Use for the topHalf of the list linkedListIterator<int> tmp2; // Use for the lowerHalf of the list int …

Software Development c++ linked-list
Member Avatar for ybkumar77
0
105
Member Avatar for jiecerbo31

I have a label that I would like to update with the current operation being done in a button's click event. Sample code: Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click 'Process 1.... lblProcess.Text = "Now processing process1" 'Process 2.... lblProcess.Text = "Now processing process2" 'Process …

Software Development vb.net
Member Avatar for Mr.M
0
390
Member Avatar for manoj_582033

Friends, I am Developing a Windows Application For Lan, I am able to Scaning Pc's Name Which Are Connected on My Lan on Same Workgroup, But I have Problem That If Sudden I Get Lost Connection With any Client Pc, or Client Pc Become Shut Down So it Should Make …

Software Development vb.net
Member Avatar for manoj_582033
0
131
Member Avatar for manaila

I hava a simple Java application which uses the `ProcessBuilder` and `Process` classes to execute **cmd** commands. The commands just load a window. Now the problem is when the window is closed, the process remains running. Below is the code snippet I have used: try { ProcessBuilder pb = new …

Software Development gui java
Member Avatar for stultuske
0
147
Member Avatar for blackcathacker

Yeah, basically I'm asking if anyone could either walk me through a solution of a problem, or if it would be easier to simply do it themselves. I'm "taking" a C class, and would love it if I could get pointed in the right direction with a certain problem. All …

Software Development c
Member Avatar for ddanbe
0
506
Member Avatar for M.Waqas Aslam

hello ! i want to disable my usb port using c# or vb.net ,is it possible to do so using .net ? if yes then any idea how i can do this ? Regards

Software Development vb.net
Member Avatar for PriyaVijay
0
530
Member Avatar for pipsy17

When there is a if while else in pseudocode how do you interpret it in a flow chart. For example, a1 if c1 { a2 while c2 { a3 } } else { a4 } is the else statement connected to the if statement or the while statement and if …

Software Development c++
Member Avatar for mrnutty
0
237
Member Avatar for luislupe

Please consider the code below. This is a smaller version of what I'm trying to accomplish. Point instances will get random values to be printed in a 2D grid. In order not to have duplicates, I'm inserting them in `positions`. `ret` pair is used by me in order to know …

Software Development c++
Member Avatar for mrnutty
0
2K
Member Avatar for poopuh

I have to build a program which takes a password as input and then the password machine hacks it. It should do it by looping through the ascii character map 4 times i.e a, b ,c etc followed be aa, ab, ac. It's meant to simulate a "brute force attack". …

Software Development java
Member Avatar for poopuh
0
251
Member Avatar for Tsaou

Hello everyone... I've searched a lot for this but i can't really figure this out. My project consists of 5 .c files and 4 .h headers. all in the same folder. I compile them separately succesfully but when it comes to group compiling (gcc -o progname and all the code …

Software Development c
Member Avatar for Ancient Dragon
0
1K
Member Avatar for techman41973

When using the Grep command to find a search string in a set of files, is there a way to dump the results to a text file? Also is there a switch for the Grep command that provides cleaner results for better readability, such as a line feed between each …

Software Development shell-scripting
Member Avatar for JeoSaurus
0
308
Member Avatar for lisaedward

Hai everyone. I am new to this discussion. Can anyone tell me about basic XML site map creation

Software Development xml
Member Avatar for LaxLoafer
0
243
Member Avatar for DanDaMan

I'm including these three files in my C++ program: [CODE] #include <stdio.h> #include <cstdlib> #include <iostream.h> [/CODE] The C++ compiler I am using (Dev-C++ 4.9.9.2) Allows me to run this program. but I still receive an error message saying: [CODE]#warning This file includes at least one deprecated or antiquated header. …

Software Development c++
Member Avatar for sanjila007
0
1K
Member Avatar for Raghuvamshi

Quick sort is a faster way to sort a given array by recursion The algorithm goes like this: it first takes some index element and seperates all elements lesser than this with larger numbers then places this element in right place and does the same thing with all other

Software Development algorithm c
Member Avatar for hhhadvani00
0
903
Member Avatar for Nebil

Hi guys,i was using crystal reports in my vb.net project.I read in some books and in the internet that you can create a grand total for some fields like total cost calculation.And using 'sum' you can calculate the total result.well in my case i can't find 'sum' in my crystal …

Software Development vb.net visual-studio
Member Avatar for Nebil
0
224
Member Avatar for Affable zaki

i have decleared all variables as double. Sub kaat() goldkaatinratti = (Val(txtbox_tolagoldweight.Text * 96) + Val(txtbox_mashagoldweight.Text * 8) + Val(txtbox_rattigoldweight.Text)) * 8 / 96 End Sub but when i leave the textboxes empty it gives ma the error (Conversion from string "" to type 'Double' is not valid.) i CANNOT …

Software Development vb.net
Member Avatar for Jx_Man
0
3K
Member Avatar for fatalaccidents

Hello all, This is a two parter. One is an error that I'm receiving and one is a question in general about the capabilities of PyUSB. 1) So I've installed libusb from the tar file by just doing ./configure && make && sudo make install and I have checked that …

Software Development python user-interface
Member Avatar for fatalaccidents
0
1K
Member Avatar for gobiking

I have been getting used to c++ as I have been trying various scenarious on programs and exand on them with new concepts. This is my first try at exporting data from command line to a text file and the program runs fine with all the calculations. The real issue …

Software Development c++ file-system
Member Avatar for gobiking
0
247
Member Avatar for Necrozze

Hey guys, I'm trying to learn how to use classes and work with seperate files, and I been reading about it and now I tryed making a little short "Hello World" thingy but I don't really understand the self. things, I thought I did but it's not working so I …

Software Development python
Member Avatar for Necrozze
0
304
Member Avatar for fatalaccidents

Hey guys, I wasn't exactly sure where to put this post, but this was my best guess: I'm on a HPC and wanted to use vim as a python IDE and was trying to install my own version of vim (7.3) with a python interpreter. I use configure to enable …

Software Development ide python unix
Member Avatar for biry2009
0
598
Member Avatar for Hazuan Nazri

i just want to make a mp3 player, but i got problem at my mp3 path. this is my code: Public Class Form1 Private Sub Import_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Import.Click FBD.ShowDialog() TextBox1.Text = FBD.SelectedPath Dim folderInfo As New IO.DirectoryInfo(TextBox1.Text) Dim arrFilesInFolder() As IO.FileInfo Dim fileInFolder …

Software Development vb.net
Member Avatar for Hazuan Nazri
0
1K
Member Avatar for nurib

I am a final year student. My supervisor had asked me for creating one chat program using java. i don't have any idea on how to started it. he asked me for doing a standalone system. please help me solve this problem?

Software Development java
Member Avatar for Schol-R-LEA
0
334
Member Avatar for Kareem Klas

Hi everyone I'm studying the part about while-statement but I don't understand the explanation in the book really well and the example doesn't work for me so I can't see it with my own eyes how it works. Can someone explain what the while-statement means and does? Also can you …

Software Development c++ programming-construct
Member Avatar for Kareem Klas
0
334
Member Avatar for kobalt

Hello All, I'm having trouble with a little string search. My code downloads a webpage that contains a table of a list of sharenames, the company name and a margin rate in the following format: [CODE]<tr class="odd"> <td>AAC</td> <td>Australian Agricultural Company Limited.</td> <td>35.00%</td> <td> No </td> <td> No </td> <td> …

Software Development regex
Member Avatar for jemware.waseem
0
213
Member Avatar for Narayanan87

Hi, I would need help in getting this logic done. I am having an input file in below format: AAAAA HsfAgr345S 001 pos gfdgojog AAAAA HsfAgr346S 001 pos gfdgojog AAAAA HsfAgr347S 001 pos gfdgojog BBBBB POSgfgh571 002 ipo postalap BBBBB POSgfgh572 002 ipo postalap BBBBB POSgfgh573 002 ipo postalap BBBBB …

Software Development java
Member Avatar for Narayanan87
0
195
Member Avatar for saquibaltaf

Hi, i am biggener to VB.NET and ADO.NET. I have created a VB.NET form contains "Date From" and "Date To". i want to pass these two range parameters to crystal reports to manipulate the result. What is the way to do so using ADO.NET. Kindly some one explain Step by …

Software Development vb.net
Member Avatar for retsehc
0
777
Member Avatar for habenero

I'm back: Is there any place I could send what I have as a project to be looked at for help? Signed The Pest I'm trying to copy/rename a file using conditionals and a string variable Thanks for your help Jeff

Software Development visual-basic
Member Avatar for habenero
0
340
Member Avatar for pbsarg

Hello all, I'm both new to the forum, and to C++. The only languages I know (and not extremely well) are CLISP, ICARUS, and MatLab. I'm planning on learning C++, but I was wondering if this problem could be solved without a full-fledged understanding of C++ for the time being. …

Software Development c++
Member Avatar for mike_2000_17
0
199
Member Avatar for SerenityG

Hello, I need help with a program that reads in a string, detailing the occurrence of each variable. So far the program reads a string and shows the number of times each variable occurs (letters only). The program is based of keyboard input, so I was wondering if anyone could …

Software Development c
Member Avatar for Ancient Dragon
0
230
Member Avatar for Devoney

Hi all, I was looking for a piece of code to simply obtain the manufacturer of the CPU in your computer (might also be known under vendor ID). I found it difficult to obtain a code as basic as possible. I had already coded this once in Assembly language, still …

Software Development assembly c++ visual-basic visual-studio
Member Avatar for zar19
0
3K
Member Avatar for schroaus

I am currently taking a programming class. I finished my work early one day and was bored so.. I decided to make a randomizer that will only pick a number a single time. I have been trying to make it, but I run into continous errors with it. It seems …

Software Development vb.net visual-basic
Member Avatar for schroaus
0
222
Member Avatar for CodyOebel

I am currently following tutorials on c# as I am a c++ programmer, and am wanting to see what all the .NET talk is about with c# ;). Here is what I want my program to do. It asks the user to input title, author, subject, and bookID for 3 …

Software Development
Member Avatar for gusano79
0
203
Member Avatar for CodyOebel

Ok the output of this code is Element[0] = 100 Element[0] = 101 Element[0] = 102 Element[0] = 103 Element[0] = 104 Element[0] = 105 Element[0] = 106 Element[0] = 107 Element[0] = 108 Element[9] = 109 its supposed to be Element[0] = 100 Element[1] = 101 Element[2] = 102 …

Software Development visual-studio
Member Avatar for lolafuertes
0
190
Member Avatar for techman41973

occasionally I run a backup of my phpbb forum files from the Shell command line: zip -r forum_backup ~/public_html/forum/* I'd like to add date elements to the file name, so that the zip file created is automatically formed as forum_backup_05182013.zip or something similar Thanks

Software Development phpbb shell-scripting
Member Avatar for JeoSaurus
0
260
Member Avatar for Affable zaki

i am making a module in vb.net which will convert number of grams to number of tola masha and ratti respectively. 1 tola = 12 masha 1 masha= 8 ratti while 1 tola = 12.5 grams i can make number of tolas by number of grams \ 12.5 but can …

Software Development vb.net
Member Avatar for Affable zaki
0
5K
Member Avatar for Meena Yegappan

Hi I am trying to run a python script which has this code snippet: process = subprocess.Popen('./start_ws.pl') process.wait() os.system('make') The perl script started changes environmental variables and enters into new subshell. After entering into new subshell, the commands below script os.system('make') goes unnoticed.They get executed only if i exit from …

Software Development perl python shell-scripting
Member Avatar for slate
0
498
Member Avatar for game4tress

I'm creating a morphing module for a certain software and I'm trying to do something that I'm wrestling for quite long. I've created a mesh divided in 9 parts. So I have a rectangle divided in 9 "sub-rectangles" and I've set a texture for the global rectangle. My idea, doable, …

Software Development image
0
252
Member Avatar for Stuugie

Hi All, I created a small executable that runs an SSIS project. It works on my system but when I tried using it on a colleagues system nothing happens. I'm not overly familiar with with part of Java so any suggestions will be most appreciated.

Software Development java
Member Avatar for Stuugie
0
123
Member Avatar for LuisAZC

Hi everyone! This is my very first post. I hope that some can help me. I'm totally newbie to VB but i need to make a executable file to do this: Open a given *.cpp file, and for every line inside this file check all the words containing only uppercase …

Software Development file-stream vb.net
Member Avatar for Begginnerdev
0
247

The End.