JawKnee's Q&A profile
Visual Studio Express Editions Connecting to SQL Express
I'm trying connect to SQl Express using the Visual C++ Express, but I can't...... Can anyoune help me Thank's 1) are both SQL and C++ installed on the same machine SQL Express doesn't allow remote connections by default. 2) If they are on the same machine, is SQL Server running Go to Control Panel, Administrative Tools, Services and see what the SQL service status's are. SQL has to be running to connect to it.... -Tim <MSFT> ...Show All
SQL Server Regd - License requirement for Replication
Hello, I am trying to figure out if we want to implement replication in SQL Server 2005 does it require licensing . I have got information on BOL for license information on cluster and log shipping , but didnot get any exact information for license regardign Replication and Database Mirroring. Can anybody please direct me to where I can checkout . Thanks In addition to what Gary said, different editions of SQL supports different features. The complete list (including replication and DB mirroring) can be found at BOL ( http://msdn2.microsoft.com/en-us/library/ms143761.aspx ). Peng ...Show All
.NET Development Application blocks with console applications.
Can somebody tell me if I Can use Microsoft Logging Application Block with console applications. If yes, then how becoz I am new to console applications. Regards, Hi, Thanks a lot. It helped me a lot. Just want to know one more thing. I have an application and want to log the exception to the EventLog and display user friendly msg to the user. For that I have used both Exception Handling and Logging Application block. How should I use them through my code. Let say if I have 3 forms then how to handle it ...Show All
Windows Forms Graphics: How to create smooth Clip region?
Hello, I am trying to create a graphic that looks like a donut. The outside of the donut is smooth, but the inner circle of the donut is not smooth. Question: How can I make the inner circle smooth Here is the sample code. Thanks for any suggestions: ' ' Create circle Dim myCircle As New Drawing2D.GraphicsPath myCircle.AddPie(80, 80, 80, 80, 0, 360) ' Create cutout Dim innerCircle As New Drawing2D.GraphicsPath innerCircle.AddPie(95, 95, 50, 50, 0, 360) Dim innerRegion As New Region(innerCircle) ' Display e.Graphics.SmoothingMode = SmoothingMode.AntiAlias e.Graphics.ExcludeClip(innerRegion) e.Graphics.FillPath( New SolidBrush(Color.Green), myCircle) ...Show All
Visual Basic O'kay so I now have a working application. How do I port it to other computers?
I can install VB 8 onto other computers along with my application, but that seems unusual. The other PCs never will be programming in VB. They want to just use my application. Question: Please explain to me in a step-by-step button clicking and dragging fashion how to do this. More Simple To Vb menu click build. Then outside the vb open the folder of Yr app. You'll find there a folder bin and there You have the exe file. Just run it and everything is ok ...Show All
Software Development for Windows Vista directshow source filter
Is there a source filter in directshow to establish a Client based connection with a LAN using IP & Port address. ...Show All
Visual Studio Express Editions How do I: add favorites? History?
Hello all I have another question. I would like to know how to add favorites to a Menu strip item (like in Internet Explorer, how it has favorites). Right now I have one similar to IE, with an Item called Add To Favorites. Here is my code: Private Sub AddToFavoritesToolStripMenuItem_Click_1( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AddToFavoritesToolStripMenuItem.Click favorites.DropDownItems.Add(WebBrowser.Url.ToString) End Sub As you can see, I can add items but not be able to click on them and go to the page. I would like to know if it is possible to add a custom name for each one with the icon of the website (once again like IE). And I want to be able to click them t ...Show All
Software Development for Windows Vista While activity with counter ?
Hi :) I am tring to rewrite one of my Code Activity that became to long. It looks like this: foreach(DataRow rowSomeData in someDataSet.Table["MyData"].Rows) { if(someCondition) { while(someCondition == true) { DoSth(); } } } I thought I will build workflow from this logic but if want to write While activity that acts as a for loop, I'd need some index variable that will be accessible in whole loop. I don't want to create local variable for a whole workflow because when I create normal for loop I don't create "index" variable as local... Is there any workaround Jarod You are going to need to create a custom activity for this, the While activity h ...Show All
Visual Studio Team System exclude types
Via FxCopCmd there is the /types: switch for which types to include in the analysis. I would like to see something like an /excludetypes: switch for excluding types from the analysis. For instance, our unit tests are not separate projects, they are kept in the same project with a conditional statement around the (#if Test) code, which allows the test to be executed only in Test configurations. However, when run FxCop against this code as a post-build event, the unit tests (NUnit) fire off all sorts of rule errors. Rather than specify which types to "include", I'd rather specify which types to exclude, because this list is much shorter :) What do you think A 1.36 Feature :) Chris, This is a great suggestion and I will tra ...Show All
Windows Forms Display ListViewItem ToolTip for Entire Row
Hi, I'm having trouble getting a ToolTip to display for my list view. It's likely that the list view will be too narrow to display all of the columns so I want to pop up a tool tip displaying the item when you hover over it's row. The problem is I have fullrowselect = true so it only shows the ToolTip when hovering over the item, not the subitems. I've tried this: private void lvPeople_MouseMove( object sender, MouseEventArgs e) { ListViewItem it = lvPeople.GetItemAt(e.Location.X, e.Location.Y); if (it != null ) { toolTip1.SetToolTip(lvPeople, it.ToolTipText); } } and I get no tooltips at all. Change the GetItemAt() call to this: ListViewItem it = lvPeople.GetItemAt(0, e.Location.Y); ...Show All
Visual Studio Pass parameters from page link to report
How can I pass 3 parameter values from a link on one page to a report or CrystalReportViewer. Report is a web report in C# Parameter fields in the report are: CampaignID BeginDate EndDate So say link page URL looks like this: http://localhost/reports/campaign_report/default.aspx CampaignID=61325&BeginDate=1/1/2006&EndDate=1/2/2006 and I want to pass these values to the report and bypass the Parameter Prompt Page. When i run this link the report viewer page says "missing parameters" Do I need to add something to the default.aspx.cs page ------------------------------------------------------------ protected void Page_Load( object sender, EventArgs e) { &n ...Show All
Windows Forms DataGridView - DataGridViewImageColumn issue
Hi I have a DataTable object that I connect to the DataSource property of my DataGridView . DataTable table = new DataTable ( "Test" ); table.Columns.Add( "percentage" , typeof ( double )); table.Columns.Add( "text 1" , typeof ( string )); table.Columns.Add( "text 2" , typeof ( string )); dgv.DataSource = table; The basic ide is that I want a horizontal pile for the percentage-value. And the value in "percentage" (for instance, "75.3 %"), next to the pile. I have created two classes: - PercentageColumn : DataGridViewImageColumn - PercentageCell : DataGridViewImageCell To draw the pile and the text I override GetFormattedValue of the DataGridViewImageCell class (se ...Show All
Visual Studio 2008 (Pre-release) Duplex works from Server to client (callback) but not client to server
I have specific problem: When I send strings from my client app to my server, the server responds as if it has received something but that something is always null. The response (callback) to the client works perfectly (eg. an echo). This sounds like im always sending the server null but i've confirmed the following: the parameter is not null on the following method public void Msg(string _msg) { base.Channel.Msg(_msg); } Any insight would be awesome. Thanks Are both the server and client in the same assembly I'm asking because you have class MsgDuplexClient : DuplexClientBase<ICalculatorDuplex>, ICalculatorDuplex but then described "ICalculatorDuplex& ...Show All
SQL Server Accessing the variable in Execute SQL Task
I have a variable SYear with the data type Integer and the value 2005. Connection type is OLE DB, and my sql statement is: DECLARE @MyYear Int SET @MyYear = I have set the variable User::Syear as Input with the parameter name=0, there is no result set. I set BypassPrepare both True and False. However, this simple statement does not work. I keep having an error. If I put integer value directly into @MyYear, it is fine. What is wrong in here Somebody help me! The OLE-DB parameter support is more orientated to queries, so this should work- SELECT * FROM Table WHERE YearCol = The parameter support is not geared to big lumps of procedural SQL, but simpler DML statements that share common ...Show All
Visual FoxPro Emailing newly converted reports.
Hi; I have converted some older Foxpro reports to VFP9. Everything looks great, but: Before the conversion I could very easily save the report to file and then email it. After the conversion, obviously, I can't do that anymore. I have tried the ASCII option but it is not very good with spacing and columns don't line up etc. What is the best way to solve this issue Do I need to create a pdf/rtf/tif etc or is there a built in VFP feature that can help me Thank you all. Wow!!! What I wanted and much more. Thx. I didn't venture into report listeners yet, but I guess that gives me native graphic functionality for report output files. Thank you so much!!! Alen. ...Show All
