Debbus's Q&A profile
Windows Forms Button Click not firing after Validation event
I have a textbox and a button my form. My button has CauseValidation turned on. If I click the button, the textbox validation fires. If the validation is successful, the button receives focus, but the Click event is not fired. I would like the click event to fire if the validation is successful. I have the same scenario, but this workaro ...Show All
SQL Server SQL DTS
Background..... I have Front End VB6, and Back End Access... Access is mainly a Data Dump...a bunch of tables and data...NO queries, forms etc in Access...just Data and indexes My Question is.... Is the DTS Import Feature supposed to convert Access(including Indexes, Primary Indexs) into SQL Server B/c as far as i can it is doesnt do that If so where in SQL Server should I be looking b/c i must be blind. Second, i am getting this error when importing tables via the DTS...i have gotten this s few times before and found it was bad data...but this record the data is good..and i cant seem to figure out what SQL is telling me. ERROR MSG ...Show All
Visual C++ Problem to delete unmanaged object
Hello, I would like to know why I'm unable to delete an unmanaged object : Here is the code : public ref class SpeGui : public System::Windows::Forms::Form { private : String^ m_sCompassPort; int m_nCompassBaudRate; int m_nCompassDataBits; int m_nCompassStopBits; int m_nCompassParity; int m_nCompassRefreshPeriod; int m_nCompassAccuracy; PI_DigitalCompass * m_pThCompass; MyCompassObserver * m_pMyCompassObserver; ... } SpeGui::SpeGui() { ... InitializeComponent(); ... //Cast de String^ vers const char* IntPtr strptr = (Marshal::StringTo ...Show All
Smart Device Development Cannot add multiple menu items _and_ treeview hung
Thanks :) another Q if you don't mind, how many menuitems does the .NET 1.1 support if i add an 8th item, or there abouts, it throws me a null reference exception when it's loading the form (or some other exception) but as soon as i take it out, it's fine! it also appears that if i delete a couple of menu items and add a new menu item, it will still throw the null reference exception :( so I can't really add/remove and add a menu item on my app form one last Q: the main one: if i put a treeview on a form and populate each item in an arraylist (string) into the treeview... it hangs straight away! This is even if i create a new project, a ...Show All
.NET Development Sucessfull validation (using XmlReader) of a crazy file?
The current recommended way to validate an XML file is by using schemas stored in the XmlSchemaSet . "The namespace in the XML file, urn:bookstore-schema , identifies which schema in the XmlSchemaSet to use for validation." But if you have to deal with a XML file without a namespace you have to add it's correspondent schema to the schemaSet using null/nothing. Like this: sc.Add(nothing , "books.xsd") And it works. But if, after that, you try to validate a crazy file with a different namespace fie and a completely different format, you still get sucess! (Although yo ...Show All
SQL Server ADOMD.NET 8.0 dependencies for connecting to both AS 2000 and AS 2005
I've got a C# application developed with Visual Studio .Net 2003 which uses Adomd.net (8.0) to access cubes on SQL Server 2000 Analysis Services as well as SQL Server 2005 Analysis Services. In the MSDN reference page I noticed that I can set the connection parameter "ConnectTo=Default", and now, after installing the SQL Server 2005 Client Connectivity components, I can make connections to both AS2K and AS2K5 from my development machine (XP SP2). However, I can't figure out the dependencies to make this work on other systems. On another XP SP2 system (pretty bare-bones), if I install either the SQL Server 2000 or 2005 Client Con ...Show All
Windows Forms TreeView/TreeNode Icons
Hello, I have previously used VCS Express Beta1 and moved my projects to Beta2. Small projects work well, but one - big - has a strange behaviour. In small projects the icons or bitmaps are displayed perfect, but in the big one I have white on white icons :-) The imagelist works fine in the IDE, shows selectedimageindex with an icon, when starting there are Icons in imagelist.... confused and hoping for help ;) TIA, Peter This looks like the same issue discussed in this thread . Try removing and readding the images to your ImageList. - mike ...Show All
Windows Forms Forms / Web Integration
I have stumbled into the deep end of the pool and could use some help. I have a VB.Net 2003 WIndows Forms app that I need to integrate into a web environment. I need to perform the following: a) Validate that a good Internet connection exists b) Programmatically log onto a web site using userid & password provided by the windows app user. c) Authenticate that this is a valid account d) Pass data fields to a "program" on the web site to update tables in a SQL 2000 db e) Download a data table from the SQL 2000 db to update tables in a SQL 2000 db on the client machine (MSDE) I'm in foreign territory here and could use some direction in how ...Show All
Visual C++ How to convert unmanaged Recordset20Ptr to managed IntPtr or to managed DataSet object
Hi all, I am trying to get managed representation of unmanaged Recordset20Ptr. More importantly, I want to convert unmanaged Recordset20Ptr to managed DataSet object, or convert unmanaged Recordset20Ptr to managed IntPtr. I have gone through System::Runtime::InteropServices ::Marshal, and could not figure out how to do this. Can I be helped Thanks in advance. I am not sure what a Recordset20Ptr is, but you can cast an unmanaged pointer to an IntPtr. sobo wrote: Hi all, I am trying to get managed representation of unmanaged Recordset20Ptr. More importantly, I want to convert unmanaged Recordset20Ptr to managed Da ...Show All
Visual C# Replace main node name
This might be a simple question.... I have an xml file: < xml version="1.0" encoding="UTF-8" > <Content> <Element1>ele2</Element1> <Element2>ele2</Element2> </Content> I want to replace Content with Page in my C# application and I tried: XmlNode firstNode = xmlDoc.SelectSingleNode("Content"); firstNode.LocalName.Replace("Content","Page"); Obviously I am doing it wrong or not understanding it properly, so, I am not getting the desired output. What is the correct api that I should use hi, i'm still learning too , i ...Show All
SQL Server Business Intelligence Development Studio not installing from Toolkit
Everytime I went throught the express Toolkit install and I chose, all components, it just responded with "nothing to do." I installed the BIDS by just executing vs_setup.msi. as mentioned above. This seems to have worked partially. Visual Studio is now there. However, no templates are available except "Blank Solution" The case seems some Report Builder/Model Builder templates should exist What am I doing wrong What can I do to fix the problem Where can I find the "report building templates " Thanks. AIMDBA Hi AIMDBA, I split this post into a new thread since it seemed ...Show All
.NET Development Passing WindowsPrincipal across Remoting boundary
Can anyone point me to a *good* resource that describes making my 3-tier remoting app secure I built the thing already and it works great but it has no user awareness. I want to pass the logged in user identity from client tier to middle tier and then actually run a task as that user on the server tier. Is this even possible with built in .Net functionality thanks, dave Dave, passing the Windows identity along is supported with the HTTP when using IIS on .NET 1.1, and works with TCP and IPC outside of IIS in .NET 2.0. There's a good paper that gives background and examples for this on MSDN: http://msdn.microsoft.com/library/ ...Show All
Visual Basic Startup object - Sub Main or Form
Hi all, I would like to know the differences between using Form vs Sub Main as startup object. Which is best way to start the application What are the pros and cons of using these methods. Thanks. Nitin. Hi. I think there is no pros or cons. It all depends what you need: Need a GUI for an small program Starting up with a form may do the work. Don't need a GUI at all Easy: Startup with sub main. Need to do some stuff before showing a GUI All depends... Startup with a sub main and, at the end of the startup-process, show up the GUI. As you can see, it is up to you. There is no w ...Show All
Microsoft ISV Community Center Forums VBA HELP ON WORKSHEET
Hi Im trying to get data out of an excel file using a input box with column A - M WHEN YOU ENTER IN THE DATE IT SHOULD RETURN THE ROWS OF DATA THAT IS IN THE ROW OF THE OPEN DATE COLUMN per the support engineer: Please provide the following information so that I can investigate this for you. SYSTEM INFORMATION ======================= Operating System / Service Pack: Product / Version / Service Pack: Hotfixes Installed: Yes/No Anti-Virus Software: Yes/No Additional Technologies: -brenda (ISV Buddy Team) ...Show All
Visual Studio Express Editions Back Button?
Can I have a Code example for a back button in a web browser. Also a progress bar. Hey IYou Guys Want To Know How To Put A Progress Bar In Well I Have One All You Have To Do Is Put A Progress Bar In You Windows App And Name It "Progress" And Put This In You WebBrowser As 'Progress Changed Decloration" And Your Done Dim p, d, t As Integer d = e.CurrentProgress t = e.MaximumProgress If t < 1 Then t = 1 p = Int(d / t) * 100 If p > 100 Or p < 0 Then Exit Sub Progress.Value = p End Sub If It Does Not Work Make Sure Your Progr ...Show All
