WXS123's Q&A profile
Visual Basic MAKING .NET CONTROLS - OCX VB6 COMPLIANT
Hi all, I have to create a .NET control. It have to run in a vb6 app. I'd like to use it like a standard OCX control. I've found in the net that it's possible. there's anyone who can tell me in which way I can do it It's simple: have a .net control and import it in a VB6 controls list by "add control". and have it working right. Dario TIA for any suggestion! Hi Toddap_MS, I tried that sample code (i.e. compiled it etc.) on one PC but now want to try it now on another PC. I can't register it as you would a VB6 control. However it's obviously not as simple as just copying the dll over either. What's the best way of porting this these .Net controls around Thanks for ...Show All
Silverlight (formerly WPF/E) Any future for input controls?
I haven't seen a list of planned features for WPF/E but are there any plans to add input controls such as a textbox (and textarea type control), button, dropdown, etc. I know that gets into a whole different realm but I think to truly make WPF/E something capable of more than just fancy animations (which I admit I like), having input capabilities is necessary. Some very cool data entry forms could be built that handle validation, etc. in creative ways. Imagine a textbox shaking for instance (a mini textbox earthquake) when it contains invalid data. Or, correct textboxes could be faded out bringing the incorrect ones to the forefront so the user could see them better. Fly in a dropdown list containing car models once a manufacturer has ...Show All
Visual Studio Which add-in event I have to place code to?
Hi, I have created a very simple add-in for Visual Studio 2005 written in VB 2005. This simple add-in shows an inputbox to get a number and then shows some math calculations on that number. But since I'm very new to add-ins, I have a problem. Where is the correct add-in event where I have to put this code to In every case I tried the inputbox gets shown when Visual Studio is starting, when I instead would like the add-in to be shown only if the user selects the newly created command in the Tools menu. Is that possible or do I have to get this add-in run at every Visual Studio starting At the moment I placed the code in the OnConnection event, before the End Sub statement, but I also tried the OnStartupComplete . Many tha ...Show All
.NET Development Problem with Nullable parameter passed by reference.
Hi.. I have this: Public Enum enum_PriorityLevel As Byte High = 1 Normal = 2 Low = 3 End Enum Public Sub ReadByte( ByRef Target As Nullable( Of Byte) ) ... End sub Sub Main() dim PriorityLevel as nullable(of enum_PriorityLevel) ' Error in the next statement: ReadByte (PriorityLevel ) End Sub -------------------- First: In design time I get an underline over PriorityLevel and a message saying: Error 1 Value of type 'System.Nullable(Of enum_PriorityLevel)' cannot be converted to 'System.Nullable(Of Byte)'. Why They are booth bytes. Second: If I change PriorityLevel with PriorityLevel.Value then another message comes out at runtime: Nullable object must have a value. Why I don't need i ...Show All
Visual Studio 2008 (Pre-release) What is the status of Windows Presentation Foundation Everywhere (WPF/E)?
Hi, I'm interested in Windows Presentation Foundation Everywhere (WPF/E) as a possible alternative to Adobe Flex development. All the information and blogs that I can find are from back in March to May, e.g. http://blogs.msdn.com/mharsh/ Has anything happened since then What tools do I need to develop in WPF/E Where do I get the browser plug-ins (miniturized CLR for IE, Firefox, and Mac) Thanks, Mark I think this blog might be the one also to watch http://blogs.msdn.com/webnext/archive/2006/11/15/welcome-to-web-next.aspx ...Show All
SQL Server Management Studion Express alongside full-blown Management Studio?
Is it possible to run both Sql Server Management Studio: Express and full blown side by side I am developing with the full blown product but would like to test Management Studio Express on the same box. Is this possible Thanks Eric Somehow this is the kind of answer I expected... Well, I think I'll just do that then. Thanks Eric ...Show All
Software Development for Windows Vista UAC issue
hi, To start sql settings 2000 in vista need any UAC mitigation because my application get stucked at while starting the sql settings thanks divya SQL Sever 2000 isn't supported to run on Vista. http://www.microsoft.com/sql/howtobuy/sqlonvista.mspx But a call to SQL Server 2000 on an different server should be supported and not an issue. Please clarify if your app makes a call to a different machine not running vista for the SQL 2000 connection. If this is the case, do you get any error message How about SQL logs is there anything of interest there like the attempt to connect ...Show All
Windows Forms function will not fire
I wrote a class that will over ride the Queue class add function. So when you add a item to the queue a event will fire and a function will run . Problem is the function will not work wjen the event fires Code public class QueueClass : ArrayList { public event Adding OnAdd; public delegate void Adding ( object sender, EventArgs e); public override int Add( object value) { if ( this .Contains(value)) OnAdd( this , new EventArgs ()); return base .Add(value); } } } public partial class SplashPage : Form { public string username; public string password; public double SprayTimelow = 0; public double SprayTime ...Show All
Visual Basic data storage
As posted in another thread, I'm planning to build an accounting program. I'm wondering what would be the best way to store the data, using databases or perhaps XML There will be over 50 administrations and several users. Would one database per administration be most efficient considering one administration will usually be accessed by one user at a time Using XML probably means smaller file sizes and therefore less network traffic, but databases offer more functionality. Anyone has experience with this Any help would be welcome. Regards, Eric Okay, I see what you are saying. I thnink you need to think about your overall goal. It may be that these businesses are the same (structure wise), but it may be e ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Waiting is booooooring....
Do you think somebody at Microsoft is reading these posts Are they making us wait on purpose I think that the XNA team is working hard to provide us a good and fun package... but I'm impatient too... :'( ... I'm impressed to see that people of all countries are waiting for it !!! That's fun. I think (and i'm sure) hope we will enjoy XNA game studio express. ...Show All
Windows Forms Dataset & DataGrid???
I have a dataset that holds some data, and when i show it in the data grid i would like it to be editable, and changed in my dataset, can anyone send me a link or shed some light on how i should get this done you can use a CommandBuilder but usually if you have a Select command, it should be automatically generated for you. So... this.da.UpdateCommand = new CommandBuilder(this.da).GetUpdateCommand(); then try to perform your update I've also just noticed you did not pass the SqlCommand into the SqlDataAdapter constructor - this could be one reason why it is throwing the error ...Show All
SQL Server Cannot generate SSPI context
I have a SQL Server 2000 in a specific W2K server, that belongs to a domain that is administered by a W2003 server. There is a client that has a new computer with WXP in the same domain. It used to have an old machine with W2K pro. and with the same user it worked OK. When accesing SQL from the client with an Office2003 application via ODBC with windows authentication, after several minutes working OK, suddenly it gets this message: Conection error. SQL state: S1000 Cannot generate SSPI context. In the client I have executed cliconfg.exe and created a piped name protocol, but still it won't work. I resolved my issue by noticing that the Server Network Utility had a Port address of 1533 vers ...Show All
Visual Studio Team System Development scenario and license needed? Please advice
I need to setup a project team with an architect and 4 developers. We plan to use Microsoft .NET 2005 Team System. The following is the things I am going buy: 1 copy of Team Foundation Server 1 copy of Team edition for Architect with Premium MSDN subscription 3 copies of Team edition for developers with Premium MSDN subscriptions. I found that Team edtions are not available without Premium MSDN subscriptions. Why is it so What should I actually buy Please advice. Microsoft, please answer my question. THanks I'm in a similar situation where I have 5 - 10 developers, so i understand that i need Team Foundation Server, as well as Visual Studio for each developer. Correct me if i'm wron ...Show All
Commerce Server Expression based export - BizTalk Adapter
We need an expression based export of the Commerce Server Catalog for various feeds. These are from the same CS instance/web service endpoint, so I need to create different receive locations with different Expressions (the filter Products and Categories clause) - howevr they all must point to the same endpoint. BizTalk wont allow me to create more than one Receive Location which points at the same URL/endpoint in the same BizTalk application. How to get around this Hey You can create different receive locations with the same Web Service URL but make sure that the RegistrySubkey is unique per receive location. Hope this helps and let me know if you have additional questions/concerns. Alan ...Show All
Software Development for Windows Vista Microsoft Activesync will not recognize Office 2007 Beta
I have currently upgraded my office 2003 to Office 2007 Beta and my activesync will no longer recognize that Office is installed and will, therefore, not sync my Outlook data. Has anyone else had this issue Any thoughts on resolutions to this I am using HP 6325 (Phone/PDA combo) with Microsoft Pocket PC Version 4.20.0 (Build 14350) im afraid these are the incorrect forums as these forums are for Software development on Windows Vista. Your question does not fit here but fits over at the appropriate communities: www.microsoft.com/communities ...Show All
