64,152 Solved Topics
Remove Filter ![]() | |
HI experts, I created a crystal report that works great, however I need to have a different page that always shows up at the end of the report. I cant figure out how to create a new report that does this. Thanks in advance. | |
Hi, I have written an FTP application that is working with no issues. It uploads one of 4 files to various printers on my network. I maintain a list of IP addresses. The 4 files are printer configuration files, that contain either 1 or 3 lines of code. Very simple … | |
Hi, I a real newbie on WCF, and I want to implement a service that reads from a DB some data and returns generic lists of custom objects to the client. So I implement the service like this: Interface: [CODE=vb] <ServiceContract()> _ Public Interface IRepositorio <OperationContract(Name:="ListarAlmacen")> _ Function ListarAlmacen() As … | |
Hi, I was wondering how you could change the head bar of a window in windows API. This is the line of code that I want it to change: CAPTION "Spanish Conjugation Quiz" | |
I've been trying to compile several C++ tutorial files that include the standard Microsoft header files, such as 'windows.h' to create a basic window. I'm fairly new to this C++ business, but I have a bit of experience with writing console applications on C. The problem is that the command … | |
I'm trying to load a bit map but the picture won't come up. It compiles just fine. I'm not sure if this makes a difference either but I am trying to load a bitmap into a dialog box. Here's the code: The .cpp file: #include "windows.h" #include "resource.h" HBITMAP g_hbmHang … | |
Hi all, has anyone any idea why I get an InvalidOperationException in this case? [CODE=c#]Dictionary<char, bool> dict = new Dictionary<char, bool>(6); dict.Add('A', false); dict.Add('B', false); dict.Add('C', true); // this works dict['A'] = true; // foreach gives an InvalidOperationException foreach (KeyValuePair<char, bool> KV in dict) { dict[KV.Key] = true; }[/CODE] | |
Hello! I want to use static_cast<int> on a void* member Variable in another class. (class aMessage). aMessage class has a public variable void* pVar. While using static_cast on a local variable is running smoothly, I get a compiler error trying to cast it on the aMessage->pVar. pVar is being declared … | |
Hi all, I'm having some fun with the good old "object expected" error from IE and was hoping you guys could help me out. I get the error message Object Required : Line 86. mmm cryptic as there is only 67 lines on that page but after some digging I … | |
How do I call a function that gets passed as a paramater? like this: and how do i store it as a variable? [code=c++] void a_func(void(*func)(void)) { //how do i call func? //this gives me an error: func(); //is this hwo to store the function as a var?-> void* this_func … | |
Hi, I cannot see a separator, though it adds spaces between tools. What am I doing wrong? Here is a code below [CODE=python] self.toolbar.AddLabelTool(wx.ID_REDO, "redo", wx.Bitmap("./icons/edit-redo.png")) self.toolbar.AddSeparator() [/CODE] Also what is difference between AddLabelTool() and AddSimpleTool() ? | |
Can Anyone tell me how to use debugger. I have only once used Wingware Wing IDE. I just clicked debugger and it will highlight error! I want to be advanced with debuggers and debugging in python. can anyone tell me how thing go up? Thanks in Advance, S. | |
Hello Guys can somebody provide examples and explanations on how to embed MySQL server using SQLmylibd.dll (If I remember well). Appreciation to all answers, Steve | |
can anybody explain me.the use of redim statement and preserve keyword over here.kindly let me know the idea .any help would be Highly appreciated. [code=vb] Public Function LoadData() As Boolean Dim codeString As String On Error GoTo LoadData_Error Dim Obj As IProducts '// The classinterface Dim rs As ADODB.Recordset '// … | |
Okay, I've tried my professor, and he's impossible to get timely feedback from... When he has responded, he has sent me coding - most not even close to containing the proper elements to complete the assignments, and he isn't much for explaning. Although I could copy and paste all my … | |
Hi I want to play a sound using directsound. As you can see i'm stuck already. [CODE] #include <dsound.h> #include <iostream> using namespace std; int main(void) {//CREATE OBJECT LPDIRECTSOUND8 ppDS8; HRESULT hr = DirectSoundCreate8(NULL, ppDS8 ,NULL); cout << hr; Sleep(2000); }[/CODE] I get the following error: 1>.\main.cpp(9) : error C2664: … | |
Hi! i'm a newbie in VB6, and I'm creating a program that reads arabic numerals and converts the specified Arabic numerals to Roman numerals. Is there a function in Visual Basic 6 that converts Arabic numerals to Roman numerals or vice-versa?:-/ ..,,If none,..would someone , post some code snippets about … | |
Can someone tell me how to do the watermark on posting part of the forums please? Like on DANIWEBS! :) If you cant, could you please point me in the write direction by linking me or telling me what the feature is called. Thanks! | |
Hey, I'm working on a Spanish program and I want to make it so that if somebody wants to type in an a with an accent all they have to do is press the pushbutton. I realize how to create the pushbutton but I don't know how to just insert … | |
How to get combobox.items from MS Access database? I'm using ADOTable and Datasource to get database into DBGrid. | |
hi, i am working on a project to write data into the file and use a search enginee to get the data back. i was advised to use record but i didnt learn record at school. i tried to google it but came up with no solution. that's so far … | |
i have 4 memos on a page 3 of them are single line and the last is a large memo. Memo1 Memo2 Memo3 and Memo4 now for memo 4 i can use [code]Memo4.Lines.SaveToFile (SaveDialog1.FileName + '.txt');[/code] that works perfectly, but i want Memo1 2 and 3 saved to the same … | |
Hi everyone, I am doing a program with python on Windows Vista, and I've put a entry in my program, now what I need to do is only allow the user to write number, if the user tries to write anything apart from numbers and commas, appears a message box … | |
Hey i have a problem about file copying. I have a source file opened with fstream and a destination file opened with FILE*...im trying to copy a chunk of the source file into the destination (the function receives as parameters the start second on the source file in which we … | |
My manager has just asked me to research whether it would be possible to restore a previously fully backed up database into two or more filegroups, with each filegroup being on a separate drive using SQL Server 2008. I know that if I were backing up the database to begin … | |
Hi, There is this nice upload ajax script which I would like to use on my site, it's called "Fancy Upload". You can a see demo&code here: [url]http://digitarald.de/project/fancyupload/3-0/showcase/single-file-button/[/url] The demo shows only one upload form instance on the page. However I want to have three upload form instances so that … | |
I'm having a bit of trouble working out how to decide the type of a generic at runtime. For example what I would like to do is decide the type of a generic class depending on user input. The problem being the generic variable that needs to be assigned is … | |
I am working with TWordApplication that ships with Borland Builder6. I don't seem to convert to C++ successfully from MSDN examples. I manage to open word from my app and paste text from the clipboard. I have used Select() to select the entire document, but can't work out how to … | |
My query has two parts: 1. Can I pass an audio file from one jsp to another using form submit. 2. If yes, then how do I write this file to another file in the next jsp page. I was going through the AudioInputstream class but couldnt make much head-through. … | |
Hello everyone. This is quite possibly not the place for this but it is more to do with SQL than the other things included so I apologise if I am wrong. I am looking for some help on a task I have been set. When I say help, what I … | |
Hi, By clicking the button first time - it opens the form. if i try the same thing(in second time) .....In my form only [B]one textbox(using as a lostfocus[/B] and also using recordset[sql]) [B] Runtime Error '3367' : Object is already in collection.Cannot Append.[/B] Please ,help me out..........thanks in advance............ | |
Hi , can anyone help me out to create the object of CSVReader() i want to use Filename as a string at time of object creation the below code is working fine : [B] CSVReader reader = new CSVReader(FileUpload1.PostedFile.InputStream);[/B] and i want to use string as an argument like : … | |
I've been giving myself a crash course in Java using some lectures from Stanford, and I started working on my practice midterm yesterday. So I'm reading my way through Sun's Java tutorial, and they don't define what the operator *= is, and that's the third question on my practice midterm. … | |
Hey, I can't figure what is wrong with this part of my program. I know that it has something to do with that my variable i is exceeding the vector boundaries but I can't figure out how to stop it. I try to make the program exit before the vector … | |
i am usng key ascii 13(Enter key) to move between text fields... but the problem is that it produce some sound i dont want that it produce that sound, can any one know how to avoid the beep in vb6????? Private Sub Text1_KeyPress(KeyAscii As Integer) On Error Resume Next If … | |
It's been a long night and maybe I'm so tired I'm overlooking something simple, but this has me dumbfounded. I know for a fact - 100% that these variables contain a value : $receiver_id $myid $receiver_username I defined them at the top of the page and echoed them and they … | |
Okay First off i cant figure out where my code is wrong i have stored the ID of the records i want to delete to an array called todelete[] these values are taken from checkbox called delete (stored the ID of the record to the value parameter of the checkbox) … | |
Hi all, I'm loooking for somebody willing to write complete working example for: - connection to access database - show one table form mdb in datagridview - implement code for 4 buttons (Add, Update, Delete, Refresh) - every press to buttons reflects to mdb database and datagridview This will help … | |
Hello! I am having a problem with my program.I have made a program that prints the four different shapes one after the other. But the program should print these four different shapes side by side. I know there should be one outer loop for this but I am unable to … | |
| |
When I open a project in vb6 then show a msg: and tell me to see a log file. and the description of log file is below: Line 29: Class b8Controls4.b8Line of control b8LLogoB was not a loaded control class. Line 116: Class b8Controls4.b8ClientWin of control b8CW was not a … | |
Hi people, I have run across this website many times, with the first impression that it was a website to ask a guy named 'Dani' questions about code *snicker*. I haven't introduced myself. Maybe I will. But I have a question. In building a program, I'm running mysql code. In … | |
Hi Friends, I need a help, I am making a project where I have to update the class database all at once, I made a function where some values are passing to update, It is updating the Database as well, But the problem is all the database is updated with … | |
I'm trying to get a picture box to load a new picture every second with a timer. Heres my code. [code] Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Do While Timer1.Enabled = True frame = frame + 1 frame1 = 'Picture Location frame2 = 'Picture … | |
Hi, Look I'm new to C# and I have a working knowledge of VB .Net. I would like to learn C# but I'm having a problem. It's probably a basic problem but, for a console program how to I check what someone has typed in so that the console can … | |
I am making a program that has a bunch of embedded if statements. I need random number that are between 0 and 1. In order to get really "random" numbers, I set up the program to get the seed from the cpu time. Then, to get the number between 0 … | |
Hi, I've got problem with method ignore from cin. This is my code: [code=cplusplus] void _name() { string name; char ch = 0; bool name_accepted = false; cout << "Enter your name: " << endl; while (!name_accepted) { while (ch = cin.get()) { //cin. if (isalnum(ch) || isspace(ch) || ispunct(ch)) … | |
I have an array of floats: float net_pay[5] . Each element is a decimal number ie. 999.99, 35.42, 318.34 etc . What I would like to do is to scan the decimal portion, in first case it would be 99 to a variable cents. I know how to do it … | |
I am seeking help to create a html search form that has a drop down box listing tables within a mysql database that contain parts for different makes of buses. The idea is that the drop down list would select the table and the part would be found within the … | |
Hello. Currently I'm making a game in C++, its not my first game (Examples of what I've made is "The game of life" in both 3d and 2d, TicTacToe with my own AI algorithms (based on the graph theory), 2D Paratrooper game), however its my first programm that requires allot … |
The End.