Ade Morgan's Q&A profile
.NET Development Combine Visual Studio with Access
Hi All, I have an app developed in Visual Basic 2005 connected to an SQL Server 2005 database (both Express editions). What I would like to do is create an Access .adp connected to the same SQL Server 2005 database. It seems however that Access (I have 2002) does not support developing against SQL Server 2005. Never mind, I can use Visual Studio or SQL Server management studio 2005 to make changes to the database, and I can connect the .ad ...Show All
SQL Server Encrypted value shown as '??????' in a column of type varchar
Dear All, I inserted a record in table on DB created on SQLServer 2005 and found out that the one of the column values is shown as ' ' instead of showing the encrypted value that I sent with the insert statement.3 ............................ Can anyone tell me how to get rid of this Thanks and regards, Z Z. Thanks for your reply. Actually I'm using only one-way encryption and seen these ' ' through SQL Server Manag ...Show All
Visual C++ Can not cancel the creation of a CWinFormsView object?125+
If the PreCreateWindow returns FALSE, then the program asserts and crashes when trying to cast the managed control to ICommandTarget. BOOL CWinFormsView::Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext) { m_nFlags |= WF_ISWINFORMSVIEWWND; BOOL ok=__super::Create(lpszClassName, lpszWindowName, dwStyle, rect,pParentWnd, nID, pContext); ASSERT(ok); ok ...Show All
Visual C# ProgressChanged not being called?
I've been trying to add a progress bar to a web browser window, but as far as I can tell, webBrowser_ProgressChanged is never being called. private void webBrowser1_ProgressChanged( object sender, WebBrowserProgressChangedEventArgs e) { warnLabel.Text = "webBrowser1ProgressChanged was called." ; } The really odd thing is, I downloaded a full web browser example, ran it, and the progress bar isn't working ...Show All
SQL Server Giving roles access to perspectives
In BOL, the page on creating perspectives says "Dimension and cell security for a perspective are derived from the source cube. However, roles can be given or denied access to a perspective. A role can be denied access to a cube and given access to a perspective of the cube." However, I can't find out how to grant access to a perspective. There doesn't seem to be anything about it on BOL, and the perspectives don't appear anywher ...Show All
Windows Forms Can you "refresh" the property browser
Hello All, I am extending a Window's control by adding a new Public Property named AltText which will replace the Text property in certain run time situations. At Designe time, I want to update the Text property with AltText if it is changed. AltText shows up correctly in the Property browser and if I drag a control onto the form's design surface it correctly displays AltText. I also update the standard Text property to the new value. The ...Show All
Visual Basic BadImageFormationException when using static variables
I am having a problem that may be a bug. When I use static variable declarations inside a sub (timer_tick in one case). When I do this, just before the sub executes, I get an error. If I change the static variable to be dimensioned outside the sub at the form level, everything works. Below is the exception description: System.BadImageFormatException was unhandled Message="Field token out of range." Sourc ...Show All
.NET Development Making web service on localhost externally visible
Hopefully this is easy... I created a web service (vs 2005 beta 2, IIS 5.0, win xp) that is installed locally in localhost. I can successfully access the web service from a client app I wrote and via internet explorer. my problem is, how do i allow somebody "in the cube next to me" to access the web service He always gets a "page not found" error. He has tried accessing it via my computer name and ip address. e.g., http://MycomputerName/MyServi ...Show All
Visual Studio Team System VSTS Dev edition and TFS - IDE Locks on Add Item - BEEPS
When connected to TFS everytime I add an item to the project the IDE locks up in what appears to be a modal error of sorts. Once the item is added to the project I cannot do anything. Anywhere I click in the IDE I just get beeps. It is as though there is a dialog box open but I cannot see it. I have to kill the devenv process... When I reopen the project I have to show all files and include the file that I just added. I can provide a sh ...Show All
Software Development for Windows Vista A question for state machine workflow
Hi,All, I will use State Machine to bulid a human workflow. One of the police is if one 'state' is not changed in 60 days, the workflow will be terminated. It means if nobody approves or denies the request for 60 days, the workflow will be closed. How can I do this in state machine workflow I tried to put parallel activity and delay in one of branch, handleExternalEvent in another branch in state machine workflow, but it will cause the e ...Show All
Visual Studio AddFromTemplate in VS2005 (typed DataSet)
I'm making an add-in, and one task is to generate a typed DataSet from an SQL2000-table, and then add the DataSet to a Project in the solution. Everything worked fine in VS2003, but now in VS2005 (beta 2 as well as June CTP) I get the error below when calling AddFromTemplate: Microsoft.VSDesigner.Common.InternalException crossed a native/managed boundary Message="Unexpected error." Source="Microsoft.VSDesigner" StackTrace: ...Show All
Windows Forms Rulers in the IDE
I'd like to be able to turn on a column ruler. -Trillian Wishes: "From the land beyond beyond From the land passed hope and fear I bid you Genie, now appear" ...Show All
Smart Device Development dynamic buttons name in compact framework
Hi, I've created few buttons and labels dynamically in my PPC apps. I couldn't set the name property for those buttons and labels. How to do that Further processing of apps is based on the names. I'm using VB.NET (VS2003,.NET Framework 1.1) Please give some suggestions on this. Thank U! There's no Name property on NETCF V1 for controls. You can use a hash table to match strings to controls ...Show All
Visual C# Sending a message to all clients
Hopefully someone here can help me and or point me in the right direction. I am writing a non-blocking server and client. I can currently connect to the server - send it a message and have the server send that message back. I can also have multiple clients connect and send messages to the server; however, I am unsure how I would have the server send the message recieved to all the clients. I have some code here and maybe it will provide some ins ...Show All
Smart Device Development Debugging Project Settings
fatal error C1189: #error : Please use the /MD switch for _AFXDLL builds I keep getting this error when I try to compile in debug mode. I already set the Run Time Libray ro Multi-Threaded DLL. But this does nothing. Do I need to remove some preprocessor Thanks Hi, In case its not a debug dll, then try /MTd - multithreaded debug. In case you are developing the project for multiple projec ...Show All
