132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ogsirus

I found a bit of code which im unsure about in this poorly documented project im on. To be honest I havent got a clue what is going here. public void TestMethod(ISystemScriptingInterface system, ScriptEventArgs eventArgs) { var databaseScriptingInterface = system.GetInterface("database") as IDatabaseScriptingInterface; if (databaseScriptingInterface == null) { throw system.GetException(LocalisedSystemText.InternalServerError(), "Database …

Software Development user-interface
Member Avatar for deceptikon
0
235
Member Avatar for Wiizl

I'm imitating progressbar value change like: [CODE]private void playAnimation() { for(int i=1;i<=100;i++) { this.progressBar1.Value = i; System.Threading.Thread.Sleep(20); percent = i; } }[/CODE] At the same time I try to run another thread, to update label text like "...% completed". Of course I couldn't change text of label that was created …

Software Development
Member Avatar for Matthew.diggide.speakman
0
7K
Member Avatar for Chibuike_1

SGFPMANSITemplateInfo temp_info = new SGFPMANSITemplateInfo(); err = m_FPM.GetAnsiTemplateInfo(m_RegMin1, temp_info); Please how do i convert temp_info, which is of type SGFPMANSITemplateInfo to String or integer.

Software Development
Member Avatar for PoorRogue
0
157
Member Avatar for Satyam_1

I have vb.net application with MS access database. I use following code to autocomplete textbox from database. the problem is that, although its working but more frequently it gives an error "AccessViolationException was unhandled----Attempted to read or write protected memory. This is often an indication that other memory is corrupt." …

Member Avatar for Satyam_1
0
1K
Member Avatar for nathan rashid

hi!!.. my name is nathan i am trying to davelop voice to text java application i am required to use javax.speech package and i cant find it on my java packages. if any body knows where i can dowmload it please help!!

Software Development java
Member Avatar for raj.mscking
0
1K
Member Avatar for NewCoder_31

Hi...I created a project using VISUAL DATA MANAGER TABLE as backend...However, I observed in the database, I have no access in other commands / buttons such as Save or Save As....Is there an easy way to convert VM table to other Access version such as 2000-2003?

Software Development visual-basic
Member Avatar for Hamza Saleem
0
228
Member Avatar for AdampskiB

Hi there, creating new variable to add to a function, and when the user inputs a value, I get this: ValueError: need more than 2 values to unpack This is for sizeWindow variable by the way, I'll bold the parts I'm talking about. [CODE]from graphics import * def main(): doorColour, …

Software Development python
Member Avatar for Narenthirasamy
0
9K
Member Avatar for johnson_2

I observed one thing about my right click on the JTable. If I right click on a row. it shows my popUpMenu item. But now if I right click on another row, I must right click 2 times on the other row before my Jpopup appears. Is that any way …

Software Development java
Member Avatar for mKorbel
0
568
Member Avatar for sandyprc78

I want to add jni code into my servlet,i have used JNI in my desktop application but now i want to add in my java web project. let me tell you a condition.i have logic code on c++ and i want to add that code with my java web project.so …

Software Development c++ java
Member Avatar for raj.mscking
0
659
Member Avatar for mpike

Hello there. I recently have been teaching myself C++ and have come across something that I just can't seem to grasp. I undersatdn the basics of structures but when it comes to this nesting type situation I just can't figure out what is going on. If someone could explain in …

Software Development c++
Member Avatar for mpike
0
265
Member Avatar for gil.nickson

Im just curious what is wrong in my code, when i click the void button an error is shown, but it runs smoothly when the void button is not click. Here is my code, thanks for your help guys! Public Class Pizza Private Sub rdPrimo_CheckedChanged(sender As Object, e As EventArgs) …

Software Development vb.net visual-basic
Member Avatar for gil.nickson
0
280
Member Avatar for er.akshayk

We have Escape sequences in C++ Dont we have any escape sequence for displaying astriek (****) when i want a user to enter a 4 digit PIN (int).

Software Development c++ display
Member Avatar for rubberman
0
152
Member Avatar for abdelrahman.etry

**hey guys , i was wondering how to take the first letter of the user's input and turn it into upper case then put it in another text block !! for example i got 3 textboxes the first one user enters "hey" and in the second he enters "lol" and …

Software Development
Member Avatar for PoorRogue
0
154
Member Avatar for Clif40RD

Hey there!!!!!.......I'm kind of having a problem with creating a foreign key in the derby database on the netbeans platforms.Can anyone help me please?

Software Development
Member Avatar for Clif40RD
0
736
Member Avatar for salafiyya1

Hello how can I read xml file without using xml librariy in C++ here http://www.cplusplus.com/forum/general/140931/

Software Development c++ xml
Member Avatar for rubberman
0
374
Member Avatar for ogsirus

Hi Guys, Really need your help. I have started a new job, my first developing job in fact and Im struggling to understand how the system works. Thier product is massive and far more complex than anything i've seen. I have been looking at it during my first week to …

Software Development
Member Avatar for ogsirus
0
296
Member Avatar for PerplexedB

I may be very wrong, but in the web world, just installing Bootstrap gives you some basic control over how you controls look. Is there something similar for WPF? I don't seem to find anything, I have a very basic little wpf application with a pageframe, buttons, textblocks and textboxes. …

Software Development asp.net
Member Avatar for PerplexedB
0
264
Member Avatar for andrew mendonca

Write a complete program that reads three integers from the console and outputs the number of distinct values entered. For example if the input is 34 55 23 then the output will be 3, since there are three distinct values . If the input is 42 78 42 then the …

Software Development c++
Member Avatar for Suzie999
0
287
Member Avatar for Thurston_1

Hi i have to make this program that will read a message from another text file and surround each occurence of an abbreviation with <> brackets. and the write the marked message to a different file. The program must beable to read from a text file that contains the abbreviations …

Software Development file-system java
Member Avatar for Thurston_1
0
730
Member Avatar for myk45

Hi all, I have an xml file with some information inside it. I want to load this xml during runtime and generate an equivalent HTML document for this xml file. All this needs to be done programatically and on the fly during runtime. How could i do this? I'm using …

Software Development c++ html-css xml
Member Avatar for jwenting
0
269
Member Avatar for Harish_2

Hi All, Can you please let me know what these two functions do ? I would want to know for what purpose they are being used? Kindly help Harish //CallBack function for EnumChildWindows API call from SetOS2CursorForWindows BOOL CALLBACK EnumESLChildWindowsCallback(HWND hWnd,LPARAM lParam) { //CGI_CONV_OS2WIN_START //Function body modified according to keep …

Software Development api c windows-api
Member Avatar for Suzie999
0
333
Member Avatar for lalitha2294

Hi, I want to download TASM fro Windows 7 32 bit. Please help me to download and install it. Thankyou.

Software Development assembly
Member Avatar for tien.nguyen.3532507
0
1K
Member Avatar for Cave_1

Hi. I'm trying to use brace-initialization notation: int number{}; But I get the following error: "expected an expression". Shouldn't c++11 allow this kind of initialization? int number2(4) works just fine. Thank you.

Software Development c c# c++ visual-studio
Member Avatar for Cave_1
0
367
Member Avatar for Start4me

I want a set of not the same numbers to be added to a listbox, if there are any numbers that are the same, then they won't be added. I tried: If (Number1 = Number2) Or (Number1 = Number3) Or (Number1 = Number4) Or (Number1 = Number5) = False Then …

Software Development vb.net
Member Avatar for Minimalist
0
305
Member Avatar for newvbee

Hello, I'm very new to visual basic ver 5.00 . and I need help please. I have ms access '97 database with three tables. I created a form using form wizard , and it has a data control included. How do I enter data through the datacontrol to my tables …

Software Development visual-basic
Member Avatar for NewCoder_31
0
361
Member Avatar for andrew mendonca

Your Math class has five 100 point tests over the course of a semester (and nothing else that counts toward your grade). In addition to getting an average score of 70/100 you must pass at least three individual tests in order to pass the class . For example, if your …

Software Development c++
Member Avatar for Taywin
0
572
Member Avatar for johnchristian.pagnes

Can someone please help me ? I made a button named "Open" for Visual Basic 6.0 , and i would like to execute/open Microsoft Access 2007, can someone please help me ...

Software Development microsoft microsoft-access visual-basic
Member Avatar for NewCoder_31
0
237
Member Avatar for akuikhwan94

This is my code Dim dblPrice As Double = 0 Dim dblTotal As Double = 0 Dim strTotal As String dblPrice = CDbl(txtPrice.Text) intQuantity = CInt(txtQuantity.Text) dblTotal = (dblPrice * intQuantity) strTotal = Format(dblTotal.ToString("N2")) If chkDessert.Checked = True Then strTotal += 5 End If If chkDrink.Checked = True Then strTotal …

Software Development vb.net
Member Avatar for NewCoder_31
0
499
Member Avatar for abaddon2031

I am workign with a xml file that contains the order information for a company. What i am tryign to do is see if the xml file have a scan code in it and if it does then to pull the order number so that it can be passed to …

Software Development python xml
Member Avatar for abaddon2031
0
298
Member Avatar for Entalist

Hi all! I'm having some trouble with constructors and destructors. I've been told that a constructor creates an object and a destructor destroys it. The problem is that in my code I try to destroy `straight2`, but I can still print out it's length as if it wasn't destroyed at …

Software Development c++
Member Avatar for Entalist
0
185
Member Avatar for engrghost

I am writing simple server client programs using socket, in which a client would request a video file and the server should send it that file. After recieving the file the client would play that video file. I know how to open ordinary text files and binary files but can …

Software Development c client-server video
Member Avatar for Andrea.Vieira
0
2K
Member Avatar for abelingaw

I have a column named Emp_Id and set as primary key (not Auto Incr).I am trying to generate an ID (employee) and save it into a SQL database. The logic goes this way: Generate the id number with a prefix plus the number (i.e. EMP0001). Display it on a textbox …

Software Development
Member Avatar for pritaeas
0
638
Member Avatar for surferbloggy

Hi, i want to change the colors of my app clicking a button so when i click this button there's this code -(void)changestyle{ change=true; [self init]; } it refresh the first controller and change the toolbar background color and the bg color of the buttons but i know it's incorrect, …

Software Development objective-c
0
111
Member Avatar for mbowenitj

Hi guys, I need assistense in comparing whether values of a listbox and datetime picker are not equal. thanks.

Software Development vb.net
Member Avatar for jireh
0
192
Member Avatar for davecoventry

Here is my code: #include <string> extern std::string commands[]; extern std::string shortcuts[]; int in_array(std::string ar[], std::string txt){ for(int i=0;i<ar->size();i++){ int g=ar->compare(txt); if(!g){ return i; } } return -1; } int actioncmd(char* command){ int act=in_array(shortcuts,command); if(act==-1){ return -1; } act=in_array(commands,command); return act; } I'm simply trying to find out whether a …

Software Development c++
Member Avatar for davecoventry
0
5K
Member Avatar for ronaldpaul

Hi, I've done my bachelors in Computer Science and was working for the past 2 and a half years in PHP and MySQL. Now I'm planning to change my career path to IBM Websphere Administration. However, changing directly from PHP to Websphere seems quite impossible. So I've planned to take …

Software Development java java-jsp php
Member Avatar for jwenting
0
1K
Member Avatar for haider885

i am trying to write input() function into file..... please help.... i am using visual studio 2013 // N Copy.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "iostream" #include "fstream" using namespace std; int _tmain(int argc, _TCHAR* argv[]) { fstream file; file.open("NCopy.txt"); file << …

Software Development c++ file-system visual-studio
Member Avatar for Hiroshe
0
257
Member Avatar for aluhnev

Hi can any one tell me please does visual studio 2012 support any features of c++11? Or only in 2013 version?

Software Development c++ visual-studio
Member Avatar for mike_2000_17
0
283
Member Avatar for Clif40RD

I Need Some assistance Desperately.

Software Development
Member Avatar for Clif40RD
0
248
Member Avatar for burhanahmed92

I am making a erp using WPF-C# and i have a confustion on how can i connect my app to sql server after compiling. I am asking this because my app connects to DB when i compile it with Visual Studio and SQL server is already installed on my pc, …

Software Development asp.net sql visual-studio
Member Avatar for ddanbe
0
1K
Member Avatar for Start4me

Is there a way to catch whether a certain message has popped out. I tried: If MsgBox("Well done!", MsgBoxStyle.OkOnly, "Amazing") = Visible = True Then Me.WindowState = FormWindowState.Maximized End If

Software Development vb.net
Member Avatar for Reverend Jim
0
187
Member Avatar for andrew mendonca

Without using arrays, write a complete program that reads three integers from the console and outputs the same three numbers in ascending order on separate lines. For example if the input is 5 4 3 then the output will be 3 4 5. Do not prompt the user or produce …

Software Development c++
Member Avatar for Taywin
0
3K
Member Avatar for ali11

*getting following error. duplicate found Exception in thread "main" java.lang.NullPointerException at binarysearchtree.main(binarysearchtree.java:185) Java Result: 1 here is my code* public class node<T> { public node<T> root ; public T data; public node left; public node right; public node (T newData) { data = newData; left = null; right = null; …

Software Development java programming-construct
Member Avatar for Taywin
0
421
Member Avatar for DavidB

I am trying to convert some old FORTRAN code to C++. I am about three sub-routines deep into the code and one of the sub-routines includes the following line (twice): CDIR$ IVDEP This is the first time I have come across this command, or directive, or whatever it is. What …

Software Development
Member Avatar for SalmiSoft
0
543
Member Avatar for pritaeas

I've been looking for a while for an example that uses claims, but I need it working in a desktop application and/or WCF service (a full local setup). MS and others say it should work, but examples are apparently well hidden within the depths of the internet. All I can …

Software Development
0
107
Member Avatar for Mr.M

Hi Dw I'm creating a wosa/xfs I've followed correctly the guide and the code has no error till I try to debug it or build it. I get this error 1) error LNK2019: unresolved external symbol_WFSStartUp@8 referenced in function "int_cdecl Wfs_Startup(void)" (?Wfs_Startup@@YAHXZ) 2) error LNK2019: unresolved external symbol_WFSOpen@36 referenced in …

Software Development c++
Member Avatar for Mr.M
0
144
Member Avatar for gesha

i need help for my school project in it. the function of the program is like a calculator that computes mean, median, mode, range, percentile, & standard deviation. and i dont know how to compute for mode, standard deviation and percentile. please they gave us dev c++ for out it …

Software Development c
Member Avatar for David W
0
2K
Member Avatar for shen06

Hello Guys! :) I'm Shen. I'm new here and to programming also. I hope you guys could help me learn more about IT and stuffs 'cause I'm really interested in learning things about computers and the technology. And also, I'd be very happy to meet new friends in here too... …

Software Development c
Member Avatar for David W
0
252
Member Avatar for rbyrd

I plan to write a program that allows the user to move shapes around on the canvas once they are drawn. A given shape will be drawn when an appropriate button is pressed. I'm using simple test programs to learn my way around. I've looked at a number of examples …

Software Development python tkinter
Member Avatar for vegaseat
0
365
Member Avatar for Cypher Yaw

Im a new student in information technology. How do I write algorithm to calculate or solve simultaneous equation . Thanks

Software Development algorithm
Member Avatar for Hiroshe
0
171

The End.