Ron Walker's Q&A profile
Visual Basic Minimum Permission Requests?
Using VS2005 RC1, every time I create a project and add a reference to a DLL or control that resides on a different drive I get the following error either when attemting to run the program or when I first attempt to add the reference: ... Could not load file or assembly ... Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417) I'm an administrator- equivalent user and have full create/modify/destroy on both my local drives and all network volumes. This seems to be the case when I create the project on my local C: drive and attempt to add a reference to something on a network mapped drive and when I create ...Show All
Visual Studio Express Editions How Do I Run a Program from a Network Location
Is there a way to have a program run from a network location without having to install it I have a simple program I want my users to be able to just run as is from the network. Yes, it can be run from a network location. However, the .NET Framework will still need to be installed on each user's machine and configured to trust the remote assembly. ...Show All
Visual Basic keep a window on top of another
Hi, I am a beginner in Visual Basic (using VB2005) and I've already hit the first problem that I am unable to solve by myself: I have a "Form1" that calls "Form2.Show()" to show the "Form2" on the screen. The Form2 window is then showed on top of Form1, but if I click on Form1, then it comes to the foreground and I am also able to use the controls on Form1. What I want is to have Form2 stay on top of Form1 and not to allow access to any controls on Form1 until Form2 has been closed again. (like the behaviour of a MsgBox) I can "Hide" Form1 to prevent the user from accessing it while Form2 is being shown, but thi ...Show All
Smart Device Development How do I install a PPC program on my XP WS to run using the Mobile device emulator
Greetings, I have installed the Emulator, and tested the device emulator manager, but since I never used a PPC or PDA I have no idea if it is actually running. I know the PPC is working because I can move around on the emulated PDA/PPC. I just have no clue how I can use this to run a test version of a program that can only run on PPC. How do you load a program to run on the emulator Any help would be greatly appreciated. Thank you, Dr. Flye If your application is a .cab file, you can use the "Shared folder" option of the emulator in the configuration dialog. Point the directory of your desktop computer where the cab fil ...Show All
SQL Server Connecting to SQL Server 2005 Express Edition from VS 2003?
Hi, How do I connect to Sql Server 2005 express from Visual Basic. Net 2003 Kumar Hi, normally this should be no problem, do you this programmatically or do you want to connect with the server explorer. Connecting with the server explorer should be no problem, which error are you getting HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
.NET Development SQL Statement - how to use 'equals'
I am trying to get a SQL command to my Access DB that matches the user input (textbox) to an exact field in the DB. myExecuteQuery = " Select * From tblMeetingMinutes WHERE " & _ "(TrackingNumber = '%" & txtLookup.Text & "%'))" I don't think this is the code to do 'equals' - any help would be apreciated, it's been years since I've done SQL statements. hi, Its very simple .. just remove the "%" signs from the query. it will give u the exact match. Cheers, Nasha nam_shah at hotmail.com ...Show All
Windows Forms Menu item with an Icon to the left.
How can I create a subject You can find a sample at this <a href="http://www.msjogren.net/dotnet/eng/samples/dotnet_iconmenu.asp">link</a>. ...Show All
SQL Server Aggregation Question
Let's say we have 2 attributes: a and b. Each consists of the defaulthierarchy of an all-level and a leaflevel consisting of the leaves 1 and 2. If I add an aggregation on (a,b) then questions such as SELECT [SomeMeasure] ON 0 FROM [Cube] WHERE (b.b.2) should yield an answer that is preaggregated, right I.e. the coordinates (a.all,b.1),(a.all,b.2),(a.all,b.all),(a.1,b.1),(a.1,b.2),(a.1,b.all),(a.2,b.1),(a.2,b.2),(a.2,b.all) should contain preaggregated values for all measures. Except my cube has 5 times worse queryperformance with aggregates enabled... So have I misunderstood something here Do the levels not mix here so o ...Show All
Windows Forms Where to catch an exception thrown by the bound object?
If I bind a TextBox to the property of a class and text is entered that causes the underying class to throw an exception, how do I catch that exception For example, say I have a Customer class with a LastName property like this... Public Property LastName() As String Get Return p_LastName End Get Set ( ByVal value As String ) If value <> " Honnert " Then p_LastName = value & ...Show All
Visual C++ Use Native COM Servers with CRCWs ??
Hello Everyone, I'm trying to get this thing working for long time now.... I have read this article many hundred times now......without any use..... http://msdn2.microsoft.com/en-us/library/f31k2c87(VS.80).aspx ...... First Question : How to create a tlb file.......I add the COM component it adds as a Interop.something....Now when I try to say #import "something.tlb" no_namespace doesnt work.... Even I tried adding the Quartz.dll to my project and still that cant even find #import "quartz.tlb" no_namespace Can someone please explain the correct way to do it, rather then forwarding to different site ...Show All
Visual Studio Tools for Office Interop.Word.dll
I am building an asp .net development using c#, I'm using Interop.Word.dll to automate the generation of word documents. On my local machine i have no error running the solution but on our development webserver i get the following error System.Runtime.InteropServices.COMException: COM object with CLSID {000209FF-0000-0000-C000-000000000046} is either not valid or not registered. Now i think the error is from that i need to have Word installed on webserver, I am just wondering is there anyway to use my solution without having Word installed on the webserver, i.e. have the dll in the bin directory Cheers ...Show All
.NET Development How to access these newsgroups using Outlook Express?
subj Hi, It is not possible to access these newsgroups from Outlook Express. These are specific web interface based forums. Regards, Vikram ...Show All
Windows Forms MdiChildActivate Form Closing Event
MdiChildActivate Event Occurs when a MDI child form is activated or closed within an MDI application. Is there anyway that we can find that the event is raised by the child form closing event What are you trying to achieve The MdiChildActivate will raise whenever a child form is closed indicating that another child form is activated or all child forms have been closed. ...Show All
SQL Server IF statement Errors in huge SQL Query
I've not gotten the If statement to work. Before: http://www.webfound.net/sqlbefore.txt After (with IF statement): http://www.webfound.net/sqlafter.txt I don't want to include the deletedpdcs if the month is today in my SUM for PDCs_IL basically is what I'm trying to accomplish here are you referencing the correcdt files I don't see a single IF statement anywhere. And if you're ever getting any errors, you need to post the error here so we know what the problem is. Note that we don't have a copy of your schema to test against. ...Show All
SQL Server Why i get this strange error ?
"An I/O error occurred while receiving the TDS prelogin response." This error is returned by JDBC when the TCP/IP (1433) port is closed I'm asking the guys that made Sqlserver 2005 JDBC !!! Is better to show "Could not connect to SQL server 2005 !!!" or "Open TCP.IP port !!!!" than this encripted and undocumented error Thanks for not helping and not knowing anything, Microsoft guys ! I am sorry to hear you are having problem with this, but I am not quite sure about what you are asking in your post. If your problem is that you don't like the error message the best way to handle this is to file ...Show All
