Alexander Stoyan's Q&A profile
SQL Server SP1 database token problems.
sp_add_job @job_name=N'Backup $(ESCAPE_NONE(WMI(DatabaseName)))' I's SQL 2005 with sp1. I ran the sp on the job which I had created to automaticaly create a backup job for a new db. When the alert calls this job, it says it can't find the variable wmi(databasename) I've pasted the whole jobstep which fails above. Please tell me what I'm doing wrong. I'm not familiar with tokens.. Thank you. Tej, I had ...Show All
Visual Studio Express Editions Can't bind to SQL Server Express Data Source
Hi everyone, I am experimenting with Visual Basic 2005 Express Edition and SQL Server 2005 Express. I have a local copy of SQL Server running, and have created a sample database on it. The SQL Server service is running, and accepting connections. I can connect to it using ODBC and the Native Client libraries. However, when I go to bind the SQL Server database as a data source, it is not available. My only options are to bind to an Access (.mdb) ...Show All
SQL Server DirectPrint with Winforms ReportViewer Control
Any ideas on how to just directly print a report with the winforms reportviewer control I want to the load the report and autoprint. Any help would be great! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Multiply alpha from texture and vertexcolor
I can't find a way to use both my texture's alpha information, and also apply a alpha blend "on top" of that. Texture alpha is no problem, I just use SourceBlend = Blend.SourceAlpha; DestinationBlend = Blend.InvSourceAlpha; but I also want to "dim" the output arbitrarily. First I was hoping that I could set the alpha value of the material's diffuse or ambient properties, or maybe use RenderState.BlendFactor, but that doesn't seem ...Show All
SQL Server Failed to prepare query - Designer Report with Model as Datasource
SQL Server Reporting Services 2005 Problem: I'm trying to create a report in Visual Studio 2005 using a data souce to an existing model that I deployed earlier. When I drag some fields on my report then click run, I get the error below. screen shot: http: / / www. webfound. net/ reporterror_ model_ designer. JPG TITLE: Microsoft Report Designer ------------------------------ An error occurred while retrieving the parameters in the query ...Show All
Windows Forms Timer_Tick() problem
Hi,there ****************************************************************** Thread doThread = new Thread(new ThreadStart(Do)); doThread.Start(); private Do() { System.Windows.Forms.Timer timer = new System.Windows.Forms.Timer(); timer.Tick += new System.EventHandler(this.Timer_Tick); timer.Interval = 1000; ...Show All
Windows Forms change datagridview row color (winform 2.0)
is there an easy way to do it in 2.0 i want to change color base on condition of column. I assume you mean "based" on condition of column What specific condition are you looking for. Are you looking to change the one cell in a column, or the whole row based on a column setting, or did you mean based on the condition of the row There are a ton of events for changes to columns as well as rows in ...Show All
SQL Server ~* Print Button Active X Control *~
Hi, i have installed service pace 2, for the print icon to appear in the report viewer tool bar. it works fine, but for the first time it prompts for the installation of Active X control. But the users are not allowed to download any active X control. are there any ways to resolve the problem. Thanks in advance. You can install via SMS, programmatically or by hand. The Print Control is stored on the server as a cab file rscli ...Show All
.NET Development puting a comboBox in my datagrid
I have two tables tbl1 and tbl2. Tbl1 is the datasource of mydataGrid. Tbl1 has 4 columns (all with mapping names from Tbl1). I want to add a combo box in the fifth column that has its values from Tbl2. I m coding windows form application and not a Web application. Is that possible and how pls. Thanks Hi, I really doubt that. The Datagridview was specifically made for VS2005 and therefore it would require the .Net Framework 2.0 ...Show All
Visual C# C#, DeviceIoControl, and NDIS OIDs
Hi, I have two problems in using DeviceIoControl in C#: - At first, I want to read any data (=OIDs) from any NDIS network driver. - Secondly, I want to set the values of any writable data (=OIDs), to something I want them to be, of any NDIS network driver. I tried using of WMI but it only allows reading of data. It can't be used to set any NDIS OIDs. Well, at least I haven't found any example, book, or article that proves it. So, I switched t ...Show All
Windows Forms Splitter Control XP Theme?
I have included the manifest for xp theme support in my winforms app. It works great for everything but the splitter control. Any idea how to make the splitter control support xp themes Thanks! Philip You will need to create a derived Splitter control and do some custom drawing. This control should get you started, it draws a gradient from the GradientStart to GradientEnd ...Show All
.NET Development How to create XMLDocument using code that has multiple namespaces
Hi, I need to generate an XML doc which looks something like this: <Report xmlns=" http://ReportSchema " xmlns:rd=" http://DesignerSchema "> <Width>8in</Width> <rd:DefaultName>report1</rd:DefaultName> </Report> When I call CreateNode for the 'Report' node, I pass in the ReportSchema for the URI, but I am not sure what I can do to get the second namespace in there as well. ...Show All
.NET Development Data provider or other service returned an E_FAIL status.
Hi, I got this error [Data provider or other service returned an E_FAIL status.] in my application, application are running properly on other clients without error, i am using oracle 9i and vb.net, is there any solution. Thanks Atanu We'll need more information than this to help out. E_FAIL is a COM error result indicating that something went wrong. Unfortunately the COM object (guessing the Oracle client) isn't providing sufficie ...Show All
Visual Studio Team System How do I transition to the Developers edition?
I am seeing posts on transitioning MSDN accounts to download the Developers edition of the Team system. Where can I find info on this For more information, see: http://blogs.msdn.com/486611.aspx ...Show All
Visual Studio Tools for Office Sending Emails ..
Hi, Not really certain if this is the correct forum or not. My apologies if not. I'm creating a VS.NET 2005 application using VB.NET. I've downloaded and installed the Visual Studio Tools for Office 2005 as well as the code snippets. What I want to do is send an email. I'm getting my feet a little wet before jumping right in! My code is as follows: Dim mailItem As Outlook.MailItem = Me .CreateItem(Microsoft.Office.Interop.Outloo ...Show All
