Susana Guedes's Q&A profile
Visual Studio Express Editions Form.TomMost Property didn't work correctly on visual Basic 2005
Hi every body in visual basic 2005 ,the form.TopMost Property didn't work correctly in visula basic 2005. I set TopMost property to ture,but my form lost focus when user clicks on another form. I Need this information to complete my job. I have a few items which are always on top (ObjectDock, for example), which sometimes disappear to the background. Usually I have to 'reset' it to be back on top. It doesn't use the .NET framework, so I guess the issue is that always on top is unreliable. I believe that there are probably some applications which use the always on top mechanism to bring a form to the foreground, which messes up forms which truly need to be always on top. I guess you can simply ...Show All
SQL Server Managing Scheduled Jobs from Management Studio Express
I'm working on a backup solution for my company. Right now we have three servers in three locations running SQL Server 2000. For testing purposes, I created a scheduled job on one of these servers. It worked fine but I'd like to tweak the job some, tinker with the timing and save locations. I'm using Management Studio Express on my laptop to remotely work with these databases but I can't seem to find a decent way to work with existing jobs. Am I missing something or does SSMSE lack the "manage jobs" functionality SSMSE only exposes functionality that is available in SQL Express. Since Express doesn't include Agent, SSMSE doesn't include the ability to manage Agent jobs. The SQL 2005 Feature Pack includes some DTS 2000 ad ...Show All
Visual C++ runtime error
--------------------------- Microsoft Visual C++ Runtime Library --------------------------- Runtime Error! Program: C:\WINDOWS\system32\MsiExec.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. --------------------------- OK --------------------------- can anyone explain why i get this error message, if so can anyone please help me get around it. The more detailed message above with the address is also the exact same error that I had been receiving . I was trying to post a print screen to show it in actual form, but couldn't figure out how to do it. This same address seems to causing ...Show All
Visual Studio Express Editions what code do i use for key change
ok i have this much i know if gose inbetween this Private Sub Form1_KeyDown( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me .KeyDown End Sub but what code is it i use so that is i press the "a" key it will show "y" ok well i might have asked the wrong question in the first place but what i am waning to do with this prject is have it where when i type it places what ever i type in the textbox1 but i dont want to use t he standered windws key layout i want ot be able ot add my own font i have made for this this project was a request for a friend so i figuered i would take up the offer and d othis for him but i am stu ...Show All
SQL Server Can I Debug Remote SQL Server 2000 Stored Procedure in Visual Studio 2005
I can debug an SQL Server 2005 stored procedure in Visual Studio 2005 from a local database (e.g. AdventureWorks). However, when I try to debug a stored procedure on a remote server running SQL Server 2000 the debug process is not accessible (i.e. I can choose 'Step Into Stored Procedure' and it seems to run but I cannot debug it). Am I trying to do something that just can't be done Is this a compatibility issue between Visual Studio 2005 and SQL Server 2000 Or am I missing something Thanks for any advice on this. Richard As far as I can see, Server Explorer in Visual Studio does not give me a 'Modify' option. It gives me a 'Step into Stored Procedure' option that does not seem work fo ...Show All
SQL Server Merge replication - examples for custom conflict resolvers?
I have gone through BOL and various online resources including this one and I can't find any examples on how to use custom conflict resolvers to generate a result row which is a combination of the rows to be merged. BOL says it can be done, but suitable examples are missing. I have found various posts requesting examples from up to a year ago, but can see no replies with relevant information In particular I would like to see examples of 1) A stored procedure based custom conflict resolver 2) A business logic handler written in VB .Net Here's hoping aero1 Hi, "Insert conflicts. Insert conflicts occur when a row is inserted at one location that violates some data consistency r ...Show All
Visual Basic “My” Name Space and Violation of OOP Concepts!
I am an old VB programmer; I started using this powerful language since it was “4” years old! In my MSC program I have studied a complete Java course with its “new” O bject O riented P rogramming (OOP) capabilities. I faced no problems to “absorb” these new concepts; and in a short time I became a “deeply” Object Oriented Programmer. Unfortunately I found that Java lost a big efficiency of VB 6; this is, specially, true when Java runs in windows platform .VB 6, itself, misses a lot of Java OOP capabilities. I did not wait a very long time till the news began talking about VB.Net! When VB.net was first introduced in early 2002; I faced no problems becoming familiar with it; VB.net combines the powerfulness of VB 6 and the OOP “ ...Show All
Microsoft ISV Community Center Forums Open PDF file
Hi everybody, I'm creating a program in MS. Access but I just want to ask:, how to open *.pdf(extension) file in visual basic access (vba) thanks in advance. :-) Depends what you want to do - if you want to be able to save a PDF into your database (or any other document type) then i have code that allows you to do that and then double clicking on it will open it up in the appropriate program. Is this what you want RHhs. ...Show All
SQL Server Date format in Convert()
I'm trying to get smalldate from the date field in Sql table. I want the format mm/dd/yyyy ( american format) The query goes like this: CONVERT([SmallDateTime],StatusDate,101) still the result is: 2006-09-28 00:00:00 here are all the formats: Date Time in SQL SERVER To get only the date select convert(varchar, getdate(), 101) ------------------------------ 12/15/2006 select convert(varchar, getdate(), 102) ------------------------------ 2006.12.15 select convert(varchar, getdate(), 103) ------------------------------ 15/12/2006 select convert(varchar, getdate(), 104) ------------------------------ ...Show All
Visual C++ Suspected with Rational Clearcase problem when using Visual Studio 2005
Hi, I have posted on this problem I am having before, but I have learned more about the problem so here is an updated post on it. I am trying to build an application using Visual Studio 2005 on Windows XP SP2. The build is taking place on the Clearcase drive (M drive) in a normal view. The binary is built but fails when I try to use it with the following error: The system cannot execute the specified program. Using the depends.exe facility on the binary, I have found that the problem is that the dll MSVCP80.DLL is missing. Since the binary is being built using VC 8, this DLL is contained in the side-by-side Assembly Microsoft.vc80.crt, which is itself referenced by a manifest embedded within the binary. If this manifest cann ...Show All
.NET Development Tell if network is encrypted?
How can I tell if the current network is encrypted Thanks, You need to be more explicit. What do you mean tell if the network is encrypted Are you referring to a specific connection being enrypted via SSL or If IPSec is enabled or . Some more detail in the question would help. ...Show All
.NET Development DLL loaded twice
Hi, I was looking at DLLS used by a process using ProcessSpy and found that the process has loaded two DLLs for few of the system dlls like Systsem.Drawing.Dll, System.Windows.Forms.Dll etc. For one of these DLLs the version is 0.0.0.0 and the other one has a valid version. Unfortunately, I can't add a snapshot of the window here. What I am wondering is, whether its pretty common to have this behavior or something is wrong in the taks, the way it is loading DLL. Thanks, -Brajesh Your guess might be right, as I see that the version 0.0.0.0 is being loaded from C:\windows\assembly\nativeimages1_v1.1.4322\system.windows.forms\1.0.5000.0__b77a5c561934e089_fa580ca7 and the other version is b ...Show All
Visual C++ Private access
Say if we ve certain private methods along with private data members and public methods. other than friend function is thr any other way we access these members(they being private only) directly. its one of the requirements in a project of mine. The real prob comes when accessing function. say we've classes ported to us in .obj format. then going for DMA using pointers is a risky n unreliable job. class x { private: void meth1 ( ) { cout<< "Meth1" ; } void meth2 ( ) { cout<< "meth 2" ; } } ; class xduplicate { public: void virtual meth1 ( ) ; void virtual meth2 ( ) ; } ; main ( ) { x obj; xduplicate *obj1; obj1= ( xduplicate * ) &obj; obj1->meth1 ( ) ; ...Show All
Visual Basic COM+ Component registration for VB6 dll
Hi, I am having a dll that forms a part of a COM+ application. I have changed a piece of code and not touched any of the method signatures, hoping not to destroy the compatability. I have replaced the existing dll with my new one and restarted IIS and COM+ services that use this dll. Should i have to register the dll again or will it work (should it work ) Please respond as this is under a hot discussion with my team.. Many Thanks and Best Regards, Franklin This is a tricky issue: theoretically if you do not change any public contracts (this includes method signatures, type names, etc) then you can replace the DLL with the new one and it should work. It's best to test this in a closed en ...Show All
Visual Studio Express Editions Treeview Collapse?
Thought I'd start a new thread for this, Here is what I have in the collapse treeview Private Sub TreeView1_BeforeCollapse(ByVal sender As Object, ByVal e As System.Windows.Forms.TreeViewCancelEventArgs) Handles TreeView1.BeforeCollapse e.Node.ImageIndex = 0 e.Node.SelectedImageIndex = 0 End Sub I load the treeview no problem, C and D drive have the drive icons, if I click plus next to drive C, I get all the folders on drive C (with folder closed icons) If I click the + next to a folder I get the open icon folder, and all the pictures with (picture icons) appear in the Listview. So far So Good. The Problem When I the close the pics folder the icon changes to a drive icon if I then open another folder the pictures tha ...Show All
