iceshadow625's Q&A profile
Visual Studio Express Editions How can i open a aboutbox in a windows form
Hey i've been trying for weeks to try open a aboutbox whilst in a windows form, i have a menu bar and a drop down menu with about this product on it and when i click it i would like it to open the aboutbox, but i can't get it to work can anybody help me please thank you in advance. well if its another form as the "AboutBox" then on the click/double click event of that menuitem: FrmAboutForm theAboutForm = new FrmAboutForm(); theAboutForm.ShowDialog(); or if you just want to show a messagebox: MessageBox.Show(" YourTextHere ", " Caption ", MessageBoxButtons.OK, MessageBoxIcon.Information); is this what you are looking for ...Show All
Software Development for Windows Vista Windows Workflow Foundation and Active Directory
Can I connect to Active Directory within the Windows Workflow Designer so I can add / assign a user to a certain Activity Hi anderskj1, Maybe you ca advise me. I have downloaed some sample code but none are any way similar to what I want to do. I want to implement a WorkFlow in ASP.NET using Windows Workflow Foundation. I have a Web Form where user 1 fills in the form and submits it. This form and the saved data is then sent to user 1's boss who reviews the data and submits the Web Form to his boss and so on and on until it goes to the top of the Organisation where it is finally approved or rejected. Each time the form is subnitted an email is sent to the next person on the Organisation hierarchy letting them know that ...Show All
SQL Server C# Server Explorer
I cannot connect to a Sql Server 2005 database via Data Connections. I cannot find Server Explorer in C#. In Data Connections I use the Advanced button to reset the type from Express to MSSQLServer. My Visual Studio - Server Explorer works fine to connect to that same DB, and shows its tree, tables, and column names. So I know it is there, and working. Ideas I'm a little confused by your post... are you using Visual Studio or SQL Server Management Studio What version (Express Edition, Developer Edition ) Paul A. Mestemaker II Program Manager Microsoft SQL Server Manageability http://blogs.msdn.com/sqlrem/ ...Show All
.NET Development Send Image difference to Web Service
I want to pass Screenshot from client Machine to a webservice after 100 milliseconds. now after sending one image i want to only pass the image difference to web server and then update the image on the server with the differences. What will be the most efficient method to do that regards Have a look at following thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=504635&SiteID=1 regards ...Show All
Visual Basic populating a datagridview from a 2nd form
I am having trouble populating a datagridview using a 2nd form. The datagridview is bound to a table on form 1. There is a button on form 1 which displays form2 where I enter the data to be displayed in the datagridview on form 1. The first time I do this it works fine and creates a new row in the datagridview and updates the underlying table. The second time thru, it populates the new row but does not create another new row. this row does not update the underlying table. Does anyone know why ...Show All
Visual Studio Express Editions some (n00b) questions
ok sorry if it are stupid questions :( but atm theyre important to me :P 1) how do i create random numbers 2) im making a game atm and with the random numbers i want that everytime the number in the label changes(with a timer), there is a picture in the picturebox(so for example when nr1 is in the label i want a pict of a dog in the pictbox, when nr2 of a cat) without using whole time if label1.text is 1 then dog pict appears, if label1.text is 2 then cat pict appears... 3) is there maybe also some nice learning guide or something for C# (not the video one, i want to learn it at my own speed ;) (yes the video one goes to slow)) thx in advance to create Random numbers, you would use the Ran ...Show All
Visual Studio Creating new item type
How would I create a custom item type I want to allow the creation of assembly (.asm) files in my project and I cant figure out how to do this, so I thought a custom type would work. Thank you. Well yes I can have .asm files in my project already by going to "Add Existing Item..." and I created a custom build rule to assemble with NASM (since I prefer it over MASM). So I just need a way to "Add new Item..." and create an ASM file... the project knows what to do from there. ...Show All
Visual C# building project having many main class
Hi I want to build a project which contains classes each of them having own main method. Is it possible for me to compile the project without specifying starting class(class with main) (i can specify starting class during execution). This is possible with Eclipse IDE used for Java. The starting class is need to be specified only during execution. Could any body help me in this Thanks Natarajan Arumugam. Hope i should be more clear. My project contains 2-3 classes having main method. Is it possible for me to build the soln ...Show All
Visual Studio Express Editions how to: bind a single control to multiple datasources
hi, im really new to programming and i was wondering if there's someone out there who's kind enough to teach me how to bind a single control (ex. a textbox) to multiple datasource's (ex. two or more table's). thanks a lot.. you are talking more of a drilldown combobox and have recently helped someone do this. Take a look at this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=786157&SiteID=1 unfortunately for you, its in C#! however its easily convertable to VB.NET. I hope reading the link will give you some knowledge and understanding on how it can be achieved. The way it works is like this: fill the first combobox with data on selectedIndexChanged event of the combobox, ...Show All
Visual Basic Accessing Remote Computer's Information
Okay, I'm creating a Visual Basic .NET 2005 Windows Service. I need it to periodically access some remote servers for their information. Right now, I'm working with drive information, so I'm trying to get the total space and the amount remaining on the drive of the remote server. How do I go about doing that I'm trying to keep this service centrally located so that it can access 3 separate servers without loading and configuring it individually. I tried My.Computer.FileSystem.GetDriveInfo() and System.IO.DriveInfo, but, predictably, they only access local drives. Any help would be greatly appreciated. Here's some snipets from a application i wrote to collect computer info from our network. Pub ...Show All
SQL Server Loading data from xml
I have an xml file I want to use as the source. It's not overly complicated, but not simple either. It has one hierachy, and one optional field and looks like this a 1 'text' 2 'text' b 1 'text' 2 'text' 'optional field' Ok, now I want the data to load like this: a,1,text a,2,text b,1,text b,2,text, optional field but when I try to use the xml source it won't create the xsd...anything I can do In your schema, do you have any complex types that have mixed="true" defined SSIS does not support this. You would need to change your content model on complex types to not be mixed, or preprocess the documents with an XSLT. thanks mark ...Show All
Windows Forms Hardware Information in VB.net 2005
Hi, Are there any good tutorials on retrieving hardware information using vb.net 2005, not 2003 or vbscripts. Any help or pointers would be greatly appreciated. Andrew Robinson. What exactly do you need to get from hardware information There really isnt a way in .NET, except for say getting information about the drives in your computer (drive type, capacity etc...) I think you may need to use WMI Example: http://www.codeproject.com/csharp/hardware_properties_c_.asp http://windowssdk.msdn.microsoft.com/en-us/library/ms751672.aspx I think the last link will be the most useful to you ...Show All
SQL Server Can't connect to reporting server using SQL Server Management Studio
Dear all, I can't connect to the reporting server using SQL Server Management Studio. Do I need to put any port number to the exception list of the firewall Thanks. Best regards, Michael Wu What error do you get Try using the server name or report server url (the default is http://<servername>/reportserver ). ...Show All
SQL Server Guest principal assigned to Datareader Role does have access
Hello (help), In SQL2000, when the Guest account was assigned into a role, such as db_datareader, then querying across databases worked just fine. Specifically: I have a Report Writer application that connects to the SQL Server with a login (ReportRunner) that actually has very limited permissions on a database. The connection is then set (sp_setapprole) to use an Application role (App_RR) that has the necessary permissions. The report-writer app calls a Stored Procedure that gathers data from several other databases (on the same SQL instance). In SQL 2000, accessing these other databases was done through Guest - we assigned Guest to the db_datareader role. All worked fine. We've just upgraded to SQL2005: reports started failing. ...Show All
Windows Live Developer Forums Budget report issue
I am now using v3 for the wsdl files. The code I was using to download the budget reports were working find with version 2, however, there seems to be an issue with them now. Even though I am specifying the daterange to be today: ...ReportDateRange = Reporting.BudgetSummaryReportDateRangeType.Today I am still getting a report with the whole month's data. Is this a known issue Thanks, Joey Hi, My understanding is that this issue was escalated thru our support system -- it's probably the best way to track it down. Thanks, Shai ...Show All
