JayaC's Q&A profile
Visual C# Run Application
hi, as you all know, I have a reputation for making a text editor with extra functions. I'm continuing with this fancy text editor, and am now asking if it is possible to run other applications using my program and C# eg. As you all know, MS Word is the biggest text editor made. I want to add some word art to my RTB, but can't do it in my own editor. How do I run MS Word using my application so I can add it Thanks. Eragon. just to add, you can also use the assistant ProcessStartInfo class to customize how the application you are going to execute should be ran, example: running in a different user account changing the way it starts up such as creating no window or minimizing the process when it starts up ...Show All
SQL Server problem with role distribution
hello to everybody. well i have a problem with role distribution too users in a local network. well i crated the roles (browsers) and when they acess report manager they can see only the reports. but when they try to run the report they get a message that either thei don't have access to the analysis services database or the database does not exist. when i ppublish a report isn't there a datasource view with it then why they cannot run the reports thnxs do u mean in the report manager yes when i enter as an administrator and and i look in the properties of a report in the report manager i see the data source of the report. i have chosen integrated security of windows. ...Show All
.NET Development How can I create a packet using a Byte array??
please can anyone tell me how can I create a packet to insert it into a byte array using c# or any comments on how to create the structure to modify the values of the packet and convert it into a byte array THANKS ...Show All
SQL Server How to access deployed SQL Express
Hi Msdn, I have developed a program that required user to store information at their own machine (sql server express). So, i have included SQL Server 2005 Express Edition in the Prerequisites When i try to deployed my program at test machine, the installer works fine, by installing the .net framework 2.0, then SQL Server 2005 Express Edition, then Finish. When i tried to run on the test machine, my program showing me error "Open connection error". Well, i know somethings to do with my connection string, Provider=SQLOLEDB.1;Password=123456;Persist Security Info=True; Initial Catalog=abc;User ID=123456;Data Source=localhost Logically, i do not understand how this things works. my own developer machine contain Database Named " ...Show All
Visual Studio Express Editions calender link to database
I'm trying to create a database of projects. when a project is entered i want the entered to link the database info for that project to the calender date so that when a user clicks on a calender day the projects for that day are shown in a message box. Any ideas Thanks vb underlines " dateChosen.Value( My .Forms.Form1.MonthCalendar1.SelectionStart)" and says"property access must assign to the property or use its value" ...Show All
SQL Server lastnonempty & role playing date dimension
Hello, I'm just curious if in case of a role-playing date dimention it's possible to somehow tell SSAS to use only one role for LastNonEmpty aggregate Like we have a fact table with a few date related members - such as TransactionDate, DateOpened, DateClosed etc. All measures in this fact table are set to aggregate as LastNonEmpty & everything works just fine as long as only TransactionDate is linked to dimDate. If any other dates are linked then LastNonEmpty doesn't work properly anymore & we get unpredictable results. So if it possible to set ONLY TransactionDate to be used as LastNonEmpty & for all other dates just aggregate as sum Thanks! It is always only ONE role-playing ...Show All
Visual Basic Reading Bits
I am pulling an 'int' data type out of SQL Server with a length of '4' which I want to read the bits. I have no clue on where to start on this as far as declarations or methods to use...I need to be able to read each bits to see whether it is set or not. Possibly the easiest way I see is to store each byte as an array of bits so then I could just loop through and do my comparisons. I do not need to write, just read. Thanks a ton! Dim I As Integer = 10 Dim b As New BitArray ( BitConverter . GetBytes ( I )) For x As Integer = 0 To b . Count - 1 Dim TheBit As Boolean = b ( x ) Next ...Show All
Visual Studio Team System Test Run deployment issue --> DirectoryNotFoundException because of getting the files from debug folder
Hi. I am strugling for some hours to get my tests up and running in a dailybuild. On my local machine i can run te test but when i run the build type i get the following error: C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets : warning : Warning: Test Run deployment issue: Failed to get the file for deployment item 'TestFundadeskObjecten\InsertTests': System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\buildfolder\Valentina\Alles\Binaries\Debug\TestFundadeskObjecten\InsertTests'. The folder should just be C:\BuildFolder\Valentina\Alles\Sources\Valentina\3_ApplicatieLaag\TestFundadesk\InsertTests The deployment value inside my localtestru ...Show All
Visual Basic How to launch a program on log-off or shutdown ?
Hi, I have been able to launch my software on startup but I need to launch my software also on log-off, or shutdown. I haven't found anything valuable about it on forums yet, I know that there's a way through Group Policy, but I'm asking if someone knows a much easier way. Any methods are appreciated, Thank you The TechNet Forums is the place to ask questions like this. ...Show All
.NET Development SOAP complex content - array of strings
Kinda working backwards - need to build a proxy client for a legacy app, and it needs to work on an Axis/Tomcat server I can never see live, so I'm working from the server's WSDL to build something to test against while I work on the client. Built the simple VB web service and have no problem accessing any string or int method parameters passed from a client to the web service, but I can't access the values of string(), array or arraylist parameters. I've been working plain old Windows apps and services for a while - may need a bit of a refresher. Appreciate any help, but I'd love to see some vb source of a complex SOAP service. Regards, Wheels Have you built a local simulation service from ...Show All
Windows Forms Highlight row in DataGridView when mouse hovers over a row
I've seen many third-party components do this. In a DataGridView, how do I programmatically (using C#) change the row's background to yellow, but only the row the mouse is hovering over. I know I need to use the HitTestInfo property of the DataGridView but can't seem to get it to work right. Remember, I want the row's background to change. I don't want the row to be "selected". Thanks in advance Ray you just change some properties: dataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect ' Set the selection background color for all the cells. dataGridView1.DefaultCellStyle.SelectionBackColor = Color.White dataGridView1.DefaultCellStyle.SelectionForeColor = ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Form above game window.
The main idea is the following: There is a game, which is working in full-screen mode, of course. It’s necessary for me to make some toolbar, which could work above the game window. For example, make the calculator, which will appear after clicking a button on the toolbar, but the game window is not minimizing, and the working of this application continues above it. I tried to use the topmost form, but I can't draw it. In the case of using timer - BringToFront - it’s blinking, and when I click on it the game window is minimizing. Can anybody tell me what must I use to I saw the same working applications already, but I have no idea how to make it. Thanks beforehand. Sorry for my English. If the game is using Dir ...Show All
Visual C# ManagementScope.Connect taking 20 seconds
In the code listed below, I am attempting to do a ManagmentScope.Connect to do a WMI query on a remote machine. While this connect only takes milliseconds on most machines on others it takes up to 20 seconds. One the ones that it takes 20 seconds on I recieve the following error: ERROR: System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) I am OK with the failure, but I cannot have the failure taking 20 seconds to return control back. I attempted to set the ManagementScope.Options.Timeout value to 500 milliseconds but still doesn't return back control for 20 seconds. Any help would be greatly appriciated! Vincent Fournier public string GetW32_Compute ...Show All
Windows Forms ClickOnce: how to specify credentials for publishing?
Hi, I need to publish a ClickOnce app on a web site, into a secured web folder (windows authentication in a different from my workstations domain). I'll use msbuild to publish. How should I specify credentials Thank you, Leonid. ...Show All
Visual Studio How to send credentials to reportserver with webform reportviewer??
Hello, I am having problems, I found no documentation in how to send the windows credentials to this report . Anyone can help me with that line please!!! string reportserver = ConfigurationSettings .AppSettings[ "ReportServer" ].ToString(); string reportfolder = ConfigurationSettings .AppSettings[ "ReportFolder" ].ToString(); string usuario = ConfigurationSettings .AppSettings[ "Usuario" ].ToString(); string clave= ConfigurationSettings .AppSettings[ "Clave" ].ToString(); string dominio= ConfigurationSettings .AppSettings[ "Dominio" ].ToString(); try { rptViewer.ServerReport.ReportServerUrl = new Uri (reportserver); rptViewer.ServerRe ...Show All
