AIMDBA's Q&A profile
Visual Studio SandCastle, Msbuild, and H2Reg
I have updated to the Oct 17 version of sandcastle and update msbuild scripts for the changes in this version. I am successfully building an hxs and can view it correctly with h2 viewer. However, when I register the collection to integrate it with Vs 2005 only the index items appear but nothing shows in the content window. I have search the fourm and can't find anything similar to this issue. Anyone have any clues why the collection looks fine in the viewer but not content in content window in vs2005 thanks, Don Eddleman thanks, I have been to your site on this but was hoping that I could completely automate this without having to create a project in Visual Studio. I am trying to replace NDoc wi ...Show All
Visual Studio Trouble linking a dataset to Crystal Reports Viewer...
I have done ALL of the Crystal Reports/VB2005 tutorials, some of them several times. I've also spent two days trying to solve this on my own and I've spent hours searching this site and many others for a solution. If the answer is here and I missed it, I apologize in advance. This pertains to Visual Studio 2005 and the version of Crystal Reports that is included. Both are patched to current revision. Specifically, I'm using Visual Basic, not Vistual C#. The issue is that binding the Crystal Reports viewer to an Access database is both easy and intuitive using the SmartTasks and writing no code. Doing the same with a SQL Server connection is neither. I was able to modify the "Connecting to ADO.NET DataSets Tutorial" so t ...Show All
Visual Studio Express Editions tabcontrol alignment
Hello I want to use a tab control using vb.net2005, i have these conditions 1-tabcontrol.Alignment=tabAlignment.Left 2- the tabpages text-direction must be horizontally i did the aligment but i didn't see the tabpages text header !, and also i wont the text-direction to be vertical , how can i solve this by the way already i saw a control like the one i want , it's used in the VS.NET2005 IDE in the MY project property page thanks in advance see the following thread for help: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=839148&SiteID=1 ...Show All
Visual Basic Links
How do you link a button to a web page... Its for a project due tomorrow I hope this will work. System.Diagnostics.Process.Start( http://www.google.com ). ...Show All
SQL Server Optins of trailing Database change in sql server
Hi All, I am in need of some option using which i can trail the changes made to my database. Specially i want to track all the DDL and DMl changes. I know about the external tools provided by lumigent and some other companies to do this but i was just wondering if we have some option within sql server. I don't need extensive report as provided by lumigent. Just getting somethin on DDL and DML will help. Even help on some work arounds to do same will be appreciated. TIA Prashant hi, i think this is more than the 4th times i recomend this product here wish i have my sales commission. you can use: 1. lumigent log explorer or 2. apex sql regards, joey ...Show All
Visual FoxPro Grid check-box...
Hi All, I am using a grid on a form which has a check-box included. My problem is when the users are navigating through the grid if they hit the return key when the check-box has focus it automatically checks the box. How can I prevent this from happening to ensure they must use the mouse to check the box rather than the return key. Thanks for the help, Pablo Jord. Can I override the keypress event i.e. get the application to ignore the value keyed or should I include code to check if the return key has been hit and then set the check-box to false. ...Show All
Visual Studio 2008 (Pre-release) Problem: Channel closed after 10 minutes of inactivity
Hello, I am developing a client server application. The client openes a channel via NetTcpBinding on start up and closes it on shutdown. Instead of a generated proxy I am using ChannelFactory.CreateChannel(). The server uses InstanceContextMode.PerCall. After 10 minutes of inactivity the channel seems to be closed automatically. On the next call to the server I get a communication faulted exception because of the closed channel. How can I change the timeout value by code I am using the July CTP. I have attached the client code. Thanks for your help! Regards, Christoph Client code: private static IGlobalService Boot() { NetTcpBinding binding = new NetTcpBinding(SecurityMode.Message); binding.MaxConnections = 100; b ...Show All
SQL Server Running SMO inside a SCRIPT TASK
Dear folks, I'm trying to call SMO classes from SSIS package but I don't know which reference to use.. Mighn't be Imports Microsoft.SqlServer.Management But Intellisense don't give me such info. Let me know where I'm failing. TIA http://www.google.co.uk/search hl=en&q=smo+namespace&meta = -Jamie ...Show All
Visual Studio SQL debug problem in VS 2k3 IDE, 2k3 Win Server, 2k SQL Server
Having lots trouble getting stored procs debugged in VS 2k3 from a C# project. After correct the sql server name and apply sp_sdidebug 'legacy_on'. I can right click and step thru sql code. But, when setting a break point and calling from C#, I can not get it to setp thru the t-sql source code as it trys to disassemble each line in sql. I can see the sql variable values. Yes, debug build with SQL debug turned on. I guess with all that money and people working at DeadWood for so long, the *** still hanging around to bug people ;) Any help appreciated. Here's the top of the stack: > 00000000() dbo.MyStoredProc(mybox.mydb)(varchar[] @p1='xxx',int @p2=1) Line 10 T-SQL system.data.dll!System.Data.OleDb.OleDbCommand. ...Show All
Visual Studio Express Editions CType Trouble
I am trying to make a small amount of code save me from having to manually write everything out. What I have is this so far Dim Box As CheckBox = CType (sender, CheckBox) Dim W As Integer = 1 For W = 1 To W = 7 If CType ( Me .Controls( "rC" & Box.Name.Substring(W)), CheckBox).Checked = True Then CType ( Me .Controls( "rW" & Box.Name.Substring(W)), CheckBox).Checked = False ElseIf CType ( Me .Controls( "rW" & Box.Name.Substring(W)), CheckBox).Checked = True Then CType ( Me .Controls( "rC" & Box.Name.Substring(W)), CheckBox).Checked = False End If Next W I want it to check if rW1 is checked, and if it ...Show All
.NET Development Can anyone please help me with this - Caller ID Notification
Trying to get some Caller ID Code to work, but don't know enough about Tapi to know why the following code doesn't work. Can anyone please help me. I need nothing more than to register that the phone is ringing and display the callers ID. This is a Vb 2005 Form, with a combobox, listbox and button Imports TAPI3Lib Imports TAPI3Lib.TAPI_EVENT Public Class Form1 Public gobjTapi1 As ITTAPI Public gobjAddress1 As ITAddress Public lngCallNot As Integer Public gCall As ITCallInfo Public gHub As ITCallHub Public WithEvents clTapi As TAPI Public objCollAddresses As ITCollection Public Const MyTapiEvents As Integer = TE_TAPIOBJECT Or TE_ADDRESS Or TE_CALLNOTI ...Show All
Visual Basic New to databases in VB
I have created a database in MS Access that works quite well, but I am trying to move the application part into VB. Here is the problem that I am running into: In access: - I have a two storage tables that hold information. - I have on table that links the storage tables together using the look up wizard - I have a form that has the information from the first table in a combobox - I have a query that filters the information in the second table, it does this by looking at the information in the combobox, then finds the infomation in second table that is related to the first tabel by the table that joins them together. I have a listbox that is filled by the above query I want to do some thing similar in VB, but can't figure out how to get th ...Show All
SQL Server DTS Package Excel Connection - Please Advise
Hi, I'm using MS SQL 2000 and I want to export data from MS SQL database to MS Excel file. So, I choose the DTS package tool to do this job. I try to create the connection to the Excel file, which located in the shared location by using the UNC path, e.g. \\servername\foldername\filename.xls However, I cannot provide the username/password to connect to the file's location. So, the connection does not work. Do you have any idea how to create the Excel connection along with shared username/password Anyway, if it is not possible :-( any advices about exporting MS SQL data to MS Excel sheet via DTS packages are still welcome.... (The reason that I prefer DTS package bec. I can schedule the job to run it automatically) Thank ...Show All
Windows Forms Can DataGridViewComboBoxCell be able to edit by user (like a normal Combobox)?
Can DataGridViewComboBoxCell be able to edit by user, like a normal ComboBox If can't, how to customize a cell/column to get this feature Thanks a lot! Hi, you have an error in your code. You must add the new item to the items collection of the Cell and not to the items of the entire column. DataGridViewComboBoxCell cell = ( DataGridViewComboBoxCell ) dataGridView1 .Rows[e.RowIndex].Cells[e.ColumnIndex]; if (!cell.Items.Contains(e.FormattedValue)) cell.Items.Add(e.FormattedValue); cell.Value = e.FormattedValue; //keep the new value in the member variable newCellValue newCellValue = e.FormattedValue; //you must now implement CellValidated and set there the value of the ...Show All
Visual Studio 2008 (Pre-release) Item in ComboBox
I have a ComboBox that I am successfully binding to fill the combobox items as well as binding to a datacontext to choose the item. So, the combobox is filling with possible colors and choosing the correct eye color from my person. If the person does not have an eye color chosen, how would I go about adding or showing Choose One in the combobox Update your GetEyeColorList to return null as the first item, then add a data template to your resources section (under your object data provider) < DataTemplate DataType = " {x:Type local:EyeColor} " > < TextBlock > < TextBlock.Style > < Style TargetType="TextBlock"> < Setter Pr ...Show All
