jturpin's Q&A profile
Visual Basic xml frustrations
I couldn't possibly have a harder time understanding xml reading in vb8. I have checked many websites and all examples are basically the same. And they don't cover what I want. This is what I want: I want to be able to read an xml file and search for a node and grab it's value. It seems like this should be easy. The only reason I am even messing with xml is because all I ever hear is xml is the future. I don't know why the future has to be so difficult. Anyway, I want to get the value of a single node from an xml file. Possible // The only reason I am even messing with xml is because all I ever hear is xml is the future. *sigh* XML is very useful, but it's no silver bullet. You shouldn't be using it because a magazine article said ...Show All
Windows Forms dynamically creating a ContextMenuStrip
ok, I am wanting to dynamically create a context menu strip using an existing menustripitem from the form, I used to do this by creating a context menu and merging the differant main menu item i need to the context menu then when the user click the context menu it just fired the main menu item code. The problem I am having is that if I use context .Items.Add( this .child2ToolStripMenuItem); then the main menu strip item is removed from the main menu strip. Is there a way around this or do I just need to do this a differant way Hi, am able to create Context Menu on a DataGrid. can somebody please tell me how to capture Click on the Context Menu...... Update: I just needed to define a ...Show All
SQL Server can I use * to specify 'Output Column' for OLD DB Source Editor?
I am working on a situation similar to 'Get all from Table A that isn't in Table B' http://www.sqlis.com/default.aspx 311 I noticed that if one column's name of source table changes,(say Year to Year2) I have to modify all 'data flow transformations' in the task. I am new to SSIS. thanks! -ZZ It seems that MS has solution for 'Dynamic Metadata', although SSIS pipeline requires static metadata. "Advacned ETL: Embedding Integration Services" from PDC05 mentioned this issue. SMO is needed. I am still searching for the samples. -ZZhang ...Show All
Visual Basic Toolstrip Questions
In VB 2005, I have a toolstrip that is inside a panel and docked to the left of the form. I want to place buttons such as Home, Inventory, Contracts, Purchasing etc in the toolstrip that start in the top center of the toolstrip and then below one another but I am unable to achieve this. I have looked at all the properties of the toolstrip but cannot find what I am looking for. I have images for the buttons and want the images to appear there as well. I really just want to be able to select the options on the left so that the other forms are displayed on the right hand side. Dipendra ...Show All
Visual Studio Express Editions Why is best Visual Basic .NET than VB6,
Hello. I am good programmer of .net more than 3 years ago but I never programmed in VB6. I need to make a presentation of the advatanges of .net related to vb6. If someone knows presentations or webcasts about it. It would be very helpful Tks I hear you Dman but....... This exception is a registry access exception. I think the exception should be a permissions exception. It's also very indirect. Few people know that performance monitoring uses registry volatile memory locations. That has the potential to really confuse some developerswho do not know the registry is being accessed in the first place. I understood what was occurring and understand the architecture. Not many people will. ...Show All
SQL Server Opportunity to provide feedback on performance improvements in SQL Server...
Please consider giving your feedback or suggestions on the top 5 OLTP and data warehouse performance improvments you would like to see in the next version of SQL Server. Use the links below to provide your comments. http://blogs.msdn.com/sqltips/archive/2006/09/20/TOP_5_OLTP_PERF_IMP_NEXT_SQL.aspx http://blogs.msdn.com/sqltips/archive/2006/09/20/TOP_5_DW_PERF_IMP_NEXT_SQL.aspx Thanks Any thought on 1. Reverse Key, Functional based and Bit map indexes 2. UPSERT Statement (Update and insert) 3. Regular expressions in SQL Server 4. Row level trigger (due since first version) Thanks Bushan. ...Show All
Visual Studio Team System Approval check-inpolicy
Hello! Developer works on x number of filesand is ready to checkin. Before he checks it in, an approver has to approve his changes. He is not actually going through each and every file and checking for changes, but kind of getting an overview what has been changed. Once the approval is obtained, developer can checkin his changes. I tried enabling the check-in notes, but this is only on the developer's end where it's just enough to enter comments in the code-reviewr section. How can we acheive this in tfs without having to use the shelving\unshelving process Thanks! There is a project underway on CodePlex to provide this very functionality: http://www.codeplex.com/Wiki/View.aspx ProjectN ...Show All
Visual Basic Adding 2 textboxes and display the result in a 3rd textbox
Hello. I need help with a project that i am working on. I need a textbox to display the result of 2 other textboxes. E.G TextBox1 - has 1 TextBox2 - has 1 I want TextBox 3 to have the result (2) Please help me as this is really annoying me. Many Thanks okay, ill try that method aswel. Thank you very much for the help you have given me, it has been very useful. Many thanks Adam Stuart ...Show All
SQL Server How can i treate Huge DB size in sql server 2000
Hi all, I have DB in operation its MDF size reached 8.38 GB and the system that work on the queries of insert timeout and the operation failed and many problems happens ... actually the reason of the huge size of the DB is just one table that contain image field which we store word files in it in each row in the table ......... so how can i solve this problem without affecting the structure of the DB ..... coz we don't wanna to make code changes in the application that use this DB thanks I hear about the posibility of partioning the huge size table into physical partitions with out affect the logical structure so the performance of accessing the table will be faster ...... so if this process can be done on sql serv ...Show All
.NET Development Syntax Error
I'm trying to write a database application in Visual Studio 2005 that inserts data into a database from a VB form, the connect and insert code are below: conBooking = New OleDbConnection( "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=booking.mdb" ) Dim SQL As String SQL = "INSERT INTO tblBooking (Cust_Name, Telephone_No, Going_From, Going_To, Additional_Requirements, Booking_Date, Booking_Time, No_of_Passengers) VALUES" SQL = SQL & "(" & strName & ", " & strPhone & ", " & strFrom & ", " & strTo & ", " & strRequirements & ", " & strDate & ", " & strTime & ...Show All
Smart Device Development uploading file automatically
Is there way to automatically upload a file when the CE device is docked in its cradle can i write to a shared/mapped folder on the PC that the CE device is connected to or am i limited to that PC any examples Thanks, Dan You may try using alternative approach:developing a desktop application, which is started when the device is cradled The desktop app then may copy the file from the device to the desktop into a local folder. The way to do this is by using RAPI - See this example of using OpenNETCF.org RAPI wrapper http://www.eggheadcafe.com/articles/dotnet_compact_framework_deployment.asp - Read this document about auto-starting a desktop application when the device is cradled http://msdn.microsoft ...Show All
Visual Studio Performance issue witth debugging a mixed C++/CLI dll
I've inherited some old C++ code, for which I've put a thin C++/CLI wrapper around. When I use the new managed wrapper I''ve discovered a slight but reasonable performance penalty (as expected). Unfortunately when I try to debug the application, I find that performance goes down significantly, as much as 10 times slower. So although this isn't a dealbreaker for my current project, it does make the development effort harder. Is this expected If not, are there any common common mistakes I might be making Does the debugger works as expected for other projects, try creating a sample console application and check the performance. Have you defined any symbol path, is it a network path, do you have _NT_SYMBOL_PATH defined on yo ...Show All
Windows Forms How does the designer locate an assembly ?
I can see the topic about locating assemblies at run-time. My question is how the VS 2005 IDE and the Windows Form Designer locates an assembly a design time. I have my own assemblies of components, which I am testing and which therefore do not have strong names and are therefore not in the GAC. I was able to add my assembly's components as Toolbox Items through the Choose Toolbox Items... dialog and by browsing to the directory where the assembles are located. When I create a .Net application and use the Toolbox it appears that the IDE will always know where my assembly is at design time because the full path to the assembly is in the Choose Toolbox Items... dialog. Is this all that is needed at design time to locate an assembly for the d ...Show All
Visual Studio 2008 (Pre-release) Installing WCF with dotnetfx3setup
After installing using the setup program, I am woring through the WCF Hands On book and it asks to add reference to System.ServiceModel. I cannot find the System.ServiceModel entry in the list of references under the .Net tab. You know what, it would help if I paid attention to the blog you referenced to see that I need to install using the command line. I installed the VS Extension and it works. Thanks for you quick assistance. ...Show All
.NET Development Can I use SoapExtensionAttribute at the client proxy side?
Thank you, Alan I have created a custom attribute such that the soap extension only intercepts the web methods with this attribute. After applying the attribute the compilation succeeds. But when I invoke the webmethod I get InvalidCastException. at System.Web.Services.Protocols.SoapReflectedExtension.GetInitializer(LogicalMethodInfo methodInfo) at System.Web.Services.Protocols.SoapReflectedExtension.GetInitializers(LogicalMethodInfo methodInfo, SoapReflectedExtension[] extensions) at System.Web.Services.Protocols.SoapClientType..ctor(Type type) at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor() at Microsoft.Web.Services.WebServicesClientProtocol..ctor() I have applied this attribut ...Show All
