lokiprime's Q&A profile
Visual Basic VB 4.0 -problem, fieldname,SQL, table
VB SQL - Fieldname,etc - simple PROBLEM Having trouble with what should be a ridiculously easy small, brief routine in VB. Any insight, would be really helpful. All Im trying to do is have VB pull data from two databases, two different ways; database (1) Simple table, with entries such as (strucuture of db); P 101 102 103 104 105 ------------------------------------------------------------------- 1 1286 2847 5288 2299 3300 2 3101 3024 3503 ...Show All
Visual C# DLL - What`s that :D
Hey i`m not so good with dll`s in fact i know allmost nothing about them The only thing i know about them that they are programs too and u pass information to them/.. but i dont think that eather good So My Questions Are: 1. What is a DLL 2. How to use a DLL 3. Makeing a DLL (the language) 4. How to know what a DLL contains Thanks A lot Guys !!! Hi, A DLL stands for a Dynamic Link Library. ...Show All
Visual Studio Team System Visual Studio blocked if the TFS is busy
Our TFS was busy running at 100% processor usage because of the problem described in http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=177068&SiteID=1 . If you start the VS client, during this time, it gets unresponsive. If it were waiting for a little while (like 10-30 seconds), the way it would do if there were connectivity problems and came up with a error message, it would be OK. The problem was that even after 1 ...Show All
Visual Studio Team System Team Project Creation Failed (Error Log attached..)
Hi there, While creating a Team Project, I am getting the following error: Initialization for plugin "Microsoft.Pcw.wss" failed with error: "Client found response content type of 'text/html', but expected 'text/xml'. Can anyone help on this Just to mention: I have already tested my setup with the required permission for SharePoint and SQL Reporting. And It is working as expected. Would appreciate your help. Thanks. Regards, Keyur. 05/12/20 ...Show All
Smart Device Development Picture BOX Control for Pocket PC application
Hi all, I am new to Pocket PC world.I am working in Pocket PC windows application using C#.NET.I am developing the application similar to MS Paint.I want to do CUT/Copy/Paste,Setting transparency,background every thing.If there is any 3rd party control to serve this purpose.If so please let me know. If any body knews coding in C#.Net(For Pocket PC) to do the above mentioned functionalities. ...Show All
Visual C++ <winreg.h>
While working with an MFC application and the windows registry, I have noticed some odd behavior when writing keys and values. For example: After creating a key I added some REG_SZ entries. ret = RegSetValueEx( hkey_ver, (LPCTSTR)"License",NULL,REG_SZ,(BYTE*)value,sizeof(value); This routine is performed by a installation exe, and these entries are later read by a main application. Checking regedit, everything appears to be fine except for ...Show All
Visual Studio Tools for Office Excel 2003 automation: setting an array as value of range-object
I have been working on a routine for saving DataTable to excel (2003), with help from : http: / / support. microsoft. com/ kb/ q302094 This procedures however fails on the line which sets the value of the excel-range to the generated array. I was hoping to accomplish this using late binding, but this yields: "System.Runtime.InteropServices.COMExcep tion (0x800A03EC): Exception from HRESULT: 0x800A03EC. at Microsoft.VisualBasic.CompilerS ...Show All
Visual Studio Team System Build a new sharepoint site for an existing team project
The subject says it all: Is there a way to build a new sharepoint site for an existing team project If there isn't there should be. Losing all my work items and change history just because the sharepoint site got messed up is simply unacceptable. -cd The solution was to simply attach the old content database to the default web site after installing TFS app tier. Don't mess with trying to attach the old sharepoint co ...Show All
Visual C# How to make sure that MDI child forms do not maximise?
I have a single MDI form as the main container for my WinForm application. When I start up I open Form1, and set the Windowstate to maximise for it. I subsequently open up Form2 which I do not want to be maximised, but unfortunately it always is. I have tried setting the MaximumSize/MinimumSize properties and the form is a fixed single however none of this seems to restict the size of the window. If I put code into the lo ...Show All
Smart Device Development 4.2 -> 2005 Migration - Missing WriteProfileInt()
I am having trouble migrating my working EVC 4.2 DLL to VS2005. EVC 4.2 supports CWinApp::WriteProfileInt() and other registry write operations, while they are not available in VS2005. Is there another way to update the registry The function is inaccessible in afxwin.h for the CWinApp definition: #ifndef _WIN32_WCE // Sets an integer value to INI file or registry. BOOL WriteProfileInt(LPCTSTR lpszSection, LPCTS ...Show All
Visual C++ Passing a string variable into a function
I am having passing a string variable into a class function. I am using #include <string> I can use the string variable in the normal code, but if I try to pass something of type string into a class function (in this case card.cpp) it returns this error: c:\documents and settings\philip harris\my documents\2005-2006 school year\winter 2006\comp 1672 - intro to cs ii\blackjack\blackjack\card.h(10) : error C2061: syntax error : iden ...Show All
.NET Development ASP.NET 2.0 Advocacy
I am looking for some resources and/or compelling arguments I may use to help "sell" ASP.NET 2.0 over PHP 5 internally. We have a PHP based user-facing control panel application, written in PHP 4.3. Given the rich interaction model we are designing, I simply don’t think PHP 4.3 or even 5.0 is up to the challenge. Unfortunately, I work in a Microsoft-hostile environment, and I’ll need strong ammunition to prove myself right, especially if I’m goi ...Show All
.NET Development Database Diagramming in VS 2005
I downloaded the Beta 2 and am working on developing a simple app, but wanted to work on the db in the IDE also. I can't get the database diagram window to come up, in fact I have seen reference to it only in the help: Create a database connection in Server Explorer using a member of the db_owner role to log in. For steps see How to: Connect to a Database from Server Explorer . Expand the Database Diagrams node under the database c ...Show All
Smart Device Development download and upload file using http/https?
Hi, I want to know the best way to transfer files from a http server for PPC 2003 and Mobile 5.0 apps that are written in C++. Should I use the MFC library (CHttpConnection), ATC library, something else what would you recommend thank you. Hi, Right now the MFC libraries don't support http classes so either you need to use some other libraries or use the under lying internet APIs directl ...Show All
.NET Development ASP.net File Upload
I am having an issue uploading a file to specified folder on my harddisk. I get an error saying that Asp.net does not have access to write in this folder. I add the permissions to the folder and then remove the "read-only" designation from the folder. When I close explorer and look at the properties again, "read-only" is again checked. How can I get my changes to stick so I can allow ASP.net (1.1) to write to the given folder ...Show All
