Christian Sciberras's Q&A profile
Smart Device Development Uniobjects.dll
i am trying to create a CF program that i can use/reference this dll. the dll is supposed to be .net compatible. this is an IBM dll for communicating with a U2 database. i can add the dll to the program as a reference but, when i try to instanciate the class, i get this error: "COM object with CLSID '{3ED50B8E-0667-11D4-BE19-00104B2A91CE}' cannot be created due to the following error: Class not registered ." i tried tlbimp and it didnt work. any ideas cant i use like a dllimport or pinvoke to accomplish this maybe through some marshalling in there... lol just guessing as per the results i have found only for interop. ...Show All
Visual Studio Express Editions Saving Information
Hello, I a making a program that will be opened once a day probably and some information will be imputed. How can I save the informaition to be used at a later date. I basically need to use something that is like a variable accept that the variable will be saved and after the program is closed and opened again it can be used. thanks Average Joe ReneeC, Good for you Are we all experts here! I think not. Correct me if I'am wrong, but isn't this forum intended for people who are new to VB As I am only learning and you seem to know it all , perhaps you can advise me what is so wrong with the code I have posted. You are quick to say that the solution is not up to the job, so to speak ...Show All
Visual Studio Express Editions a useful matrix class & a Matlab-style plot tool
// caiMatrix.h // // Define a matrix class, based on the codes of Bjarne Stroustrup, the creator of C++. // // These codes were tested using VC++ 2005 Express Edition, and were successfully used // in my research project on developing a signal analysis tool for analyzing the distortion // products in the otoacoustic emission and in the vibration of the basilar // membrane of the inner ear. // // Hongxue Cai (h-cai@northwestern.edu) // #include <iostream> #include <valarray> #include <algorithm> using namespace std; // define vector typedef valarray< double > caiVector; // forward declarations to allow friend declarations: template < clas ...Show All
Visual C++ Using Window XP API
Hi all, I am writing a program that need to make a network connection through dialing. So i thought of using the API used in windows for that purpose Is there an API which can be used for making a Dialup connection If so how can i use it Thanks. You could use the RAS API. See http://windowssdk.msdn.microsoft.com/en-us/library/ms715511.aspx ...Show All
Visual C# Validating a Form opened with ShowDialog()
Hi, I’m using a Form in the Dialog mode “frmIP.ShowDialog()” & I’m trying to validate the input so as not to be able to click OK button unless there is a string in one of the text boxes. (it would reset the focus back to the text box & cancel the click event) I have using the Validating event of the textbox I want to validate. Although this works when I move focus to another text box, the buttons do not trigger the Validating event when I move to them. The buttons & Form are both set to ‘Causes Validation = true’; As a test, I tried a Message box but this simply gets called then the dialog box closes. How can I validate a textbox which is on a form opened with the ShowDialog() method. Any ideas would be ...Show All
Game Technologies: DirectX, XNA, XACT, etc. ClientBounds Problem
I'm having problems with deploys to my 360. More specifically, the resolutions that the games are displayed in. I can deploy programs fine, but when I run them, my ClientBounds don't seem to match up with the DisplayMode.Width and Height. It basically means that the resolution I'm expecting to run in runs out at about 3/4 of the screen width and height. I'm sure it's something silly I've overlooked, but I can't seem to find the problem. JLarkin wrote: Is there any way to change the PresParams before the actual GraphicsDevice is created This article explained it nicely. Just change the settings that you want instead of the reference device. http://www.riemers.net/eng/Tutorials/XNA/Csharp/S ...Show All
Visual Studio Team System Application Diagram
Is any template to Present a Class library Project in Application Diagram The short answer is that in VS 2005 class libraries are not supported as a shape on Application Diagram. However, you may review this post on Team ARchitect forum for alternatives: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=8249&SiteID=1 In general, here is the forum where you can get more help on Team Architect: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=21&SiteID=1 ...Show All
SQL Server Multivalue Parameter SQL Server 2005 SP1
Hello, I've installed SP1 for SQl Server 2005 and I noticed that the option "Select all" on a multi value parameter drop down (using web browser) is missing. Even if I can see it on VS 2005..... Anyone can help me Thank you very much. Hello, I faced the problem that on my development server <select all> was displaying and on the production it was not due to SP2 on development compared to SP1 on production. SP2 was then loaded on the production server and rebooted the machine even then the <select all> cannot be seen. Would i need to reload the report or any futher fixes. I know I am close to reaching a solution Thanks ...Show All
Visual C++ Patching EXE files.
Hello, I am trying to patch some string in an executable file. Patching normal bytes goes without any problem. But when I try to change the ascii chars, the file gets corrupted and the size increases to ~700mb. First I used the fseek to go to the offsets. 'offsets' is a long int array containing the offset addresses. fseek(stream, 0, 0); fseek(stream, offsets[r], SEEK_SET); //in a loop | stream is a FILE* for opening the file in r+b mode. Then I tried patching the byte with the right ones in 'patch', 'patch' is an array of chars. fwrite(&patch[r-1], sizeof(patch[r-1]), 1, stream); This works fine for changing normal bytes, but for some reason it gets messy when I try it on an ascii string. Any opinions of where the problem might be re ...Show All
SQL Server Problems backing up SQL Express Database...
Hello, I found some code below that works fine when I run it in my vb.net code in Design mode. When I publish the application, run the app and then execute the sub MyDbBackup() I get the following error: Cannot open backup device 'C:\dbBackup'. Operating system error 5(Access is denied). BACKUP DATABASE is terminating abnormally. Here is the code that runs: Public Sub MyDbBackup() Dim sqlconn As New SqlClient.SqlConnection(MyConnectionStringdb) sqlconn.Open() Dim Backupcommand As SqlClient.SqlCommand = New SqlClient.SqlCommand("BACKUP DATABASE [" & sqlconn.Database.ToString ...Show All
Visual Studio Team System TF53010 / TF14055 errors
We have a TF53010/TF14055 issue which may be similar to ones reported by others: In a nutshell, we have a 2 tier TFS installation on Domain A. The user accounts used by the TFS installation are on domain B. Additionally we have a 3rd domain (call it C) that is a legacy NT domain. The user accounts in question on domain B were migrated from domain C several years ago. Our problem only occurs when the last DC (the PDC) in domain C is shut down. When we do this, email notifications from the TFS application tier on domain A to users in domain B stop working with the error 6008 (The identity DomainB\UserXXX is not a recognized domain identity). If we switch the DC from domain C back on the problem goes away. What I don't understand is why hav ...Show All
Visual C++ Can't compile MessageBox() function.
I can't compile any program where a MessageBox() or AfxMessageBox() function is included. My syntax and the error is as below: Syntax: AfxMessageBox( "Hdnbhojki" ); Error: error C2665: 'AfxMessageBox' : none of the 2 overloads could convert all the argument types i:\vstudio\vc\atlmfc\include\afxwin.h(5025): could be 'int AfxMessageBox(LPCTSTR,UINT,UINT)' i:\vstudio\vc\atlmfc\include\afxwin.h(5027): or 'int AfxMessageBox(UINT,UINT,UINT)' while trying to match the argument list '(const char [10])' Syntax: MessageBox( "Hdnbhojki" ); Error: error C2664: 'CWnd::MessageBoxW' : cannot convert parameter 1 from 'const char [10]' to 'LPCTSTR' Types pointed to are u ...Show All
Windows Live Developer Forums This space is temporarily unavailable. Please try again later.
I would like to change my permission to public, but it is unavailable for 3 days~~ =.=,I can setting everythings,spaces,blog etc except the 'permissions' sent email to Microsoft support team but no reply i've already given up on Microsoft...i have a feeling they're blocking certain spaces intentionally...ah well, i can practice my freedom of speech elsewhere...the hell with MSN or shall i say GWB! ...Show All
.NET Development How to push data from Web Service to Client side
We have three-tires application and would like push data from web service side to client windows application side. Any idea about that Thanks for any help Web Services are better used for pulling, not pushing data. Since they are built on HTTP, they are stateless like a webpage and do not maintain a connection to the client. In order to push data the client would need to have a service listening for pushed data. You might want to look at another technology like .Net Remoting, WCF, or TCP/IP. ...Show All
Visual Studio Team System Data Binding a .CSV file
Hey, I have a webtest which has a single webservice request. I created a .csv file (Users.csv in Users folder) on my C: drive and added it as a datasource and the test connection succeeded and I could see the .csv file as a datasource added to the webtest. I am trying to parameterize the field in the XML (string body)....the xml is something like <Name>CustomerName</Name> which I changed to <Name>{{C:\Users.Users.Name}}</</Name> to bind to the data in the csv file. When I run the test, I get an error "Request Failed:Context parameter 'C:\Users.Users.Name' not found in test context" Can anyone please suggest how to make this work Thanks, Thanks ...Show All
