Nightman28's Q&A profile
Visual Basic Saved and used again?
How do i do this I want to play the file selected by the user from the list box. Which is saved to My.Computer.FileSystem.SpecialDirectories.CurrentUserApplicationData. sUserSelected not sure if this is right or not. The way I have it is not working, I've also tried using & instead of + but no luck. Dim sUserSelected as String Player.URL = "C:\" + sUserSelected + "\ThemeTune.mp3" So how would I code it using XML I don't need to remember the listbox items, they load no problem. I only need to remember the folder last picked by the user. ...Show All
SQL Server New to Sqlserver - How to go about?
Hello Friends, I am new to Sqlserver. I have installed Sqlserver2005. Can any one tell me how to go step by step in it I want to know the client to use and how to create tables etc through it. I have good knowledge in Oracle. Any links to this step by step approach will be of great help. Thanks in advance Well, this book is called step-by-step -- probably a good starting point: http://www.amazon.com/Microsoft-SQL-Server-2005-Essentials/dp/0735622078/sr=8-1/qid=1160538376/ref=pd_bbs_1/104-1720546-4938320 ie=UTF8 -- Adam Machanic Pro SQL Server 2005, available now http://www..apress.com/book/bookDisplay.html bID=457 -- ...Show All
SQL Server Report Server Stored Credentials
I am getting the standard "Subscriptions cannot be created because the credentials used to run the report are not stored -".I tried to store them in the Stored Data Source in the Visual Studio Project and then deployed. I cannot find in any documentation a reference where to go to STORE CREDENTIALS for a Report Server subscription. I would really appreciate any help on this. I did look at the existing threads, but they don't specifically address where to create the credentials. Thanks for any help you can provide. Many thanks for your kind words Gary. In BOL, just search for 'stored credentials', it also has a way to set the stored credentials via a RS connection in Management Studio. Jarr ...Show All
Windows Live Developer Forums Live Alerts & Visual Basic 2005
Hi everyone, I'd like to know if anybody has some sample code using Visual Basic 2005 to send a Live Alert to Windows Live Messenger. I'd like to do some research on this topic but am not really sure where I should start. Are Live Alerts free for business use Thanks, ST 1. You need to register an RSS feed with the alerts service at http://signup.alerts.msn.com/alerts/editSignup.do . 2. You will receive a confirmation email from the alerts service containing a signup url which you can post on a blog, website or email it directly to your users. Each of your users individually must click on this link to subscribe to your alerts. If you still have questions, please refer to the information pr ...Show All
Visual C# Window message without creating a form?
Hello, Do I need to create a form just so I can have a handle I want my application to listen to window messages but it actually has no forms. It seems a bit wasteful to create a form just to listen for window messages, cant I give my entire application a WndProc function I'd like to use the bare minimum resources to do this. The form will have nothing on it so I think the best way would just be to use CreateWindow() but I'm not sure what else I need to use this, or how to create a WndProc function for it. Is there any basic code examples for creating a window using purley the API Ok, I found all the structures I need at pinvoke.net Why doesnt this work IntPtr hInst = Marshal.GetHINSTANCE(Sy ...Show All
Visual Studio Express Editions Try this way to connect Sybase with the ADO.NET2.0
what do you use OLEDB, or ODBC. don't think the ASAPRov dor ado.net 2 is ready, or is it I have connected to ASA 8 and 9 from .NET without any problems. The first method is to use the native ADO.NET 2.0 objects. - During installation, make certain to include the .NET Provider - Update your (local) ASA with the EBF's from Sybase. You do not have to update the server. - Add a reference to program files\sybase\SQL Anywhere 9\win32\VS8\iAnywhere.Data.AsaClient.dll This is a fill .NET 2.0 Provider, and is used like any other provider. When distributing your project, make sure to include the following files D:\program files\sybase\SQL Anywhere 9\win32\VS8\iAnywhere.Data.AsaClie ...Show All
Visual C++ How to start developing BHO, in vc++
Hi, i am trying to create BHO. i am using IE7 its not working for me.. any of u guys know this.. pls ping me .. i am in yahoo msngr http://msdn. microsoft. com/library/ default.asp url=/library/ en-us/IETechCol/ cols/dnexpie/ expie_hello_ bho.asp Thanks I followed the link that you posted, and haven't had any problems. I have only had problems deploying...anything specific you are having problems with Murph ...Show All
SQL Server VB.Net and SSRS
I have a report that I have built and deployed on a website Report server. I am knew to SSRS, and am having a hard time figuring out how to simply call the report and pass it a parameter, which it needs to display the correct invoice. I have looked everywhere for sample code that simply calls the report to a local form, which has the report viewer control on it and allow me to pass the parameter. Does anyone have sample code to do this Please Daryl Hi Mainiac007, This is the URL method.Try this http://Reportserver/virtualfolder/Deployedfoldername/Reportname¶metername=parametervalue ...Show All
SQL Server sql server lockup after strange error in log, help please.
Can anyone help me solve why my server is locking up. We're running sql server 2005 ent on a 2 cpu dual core server. With 3gig. Once each the last couple weeks, the machine has hung and the only thing I can find that's suspicious is on the sql server log. It's below. After the excerpt is about 50 more different memory errors. As far as I know there's no ssl configured for log in, it mostly uses private lan cards for security between it and the web/application server. 05/31/2006 14:39:48,spid2s,Unknown,MEMORYCLERK_SQLQUERYEXEC (Total) <nl/> VM Reserved = 0 KB <nl/> VM Committed = 0 KB <nl/> AWE Allocated = 0 KB <nl/> SM Reserved = 0 KB <nl/> SM Committe ...Show All
Visual Studio 2008 (Pre-release) Trusted Subsystem Implementation
We are building an application that has multiple WCF services hosted in IIS on multiple machines within a customer's topography. The services need the ability to access network resources (hops to other WCF services, database, file system, and active directory). We have been treating public services as trusted subsytems: access to the public service is authenticated and authorized using the user's identity, but access to other resources within the service are executed under a trusted identity. Here is my question. What is the best way to access the other resources under the trusted identity Run the App Pool as Network Service and Impersonate when access to the resource is required. Seems kind of messy having to store the truste ...Show All
SQL Server How can User add order from only one company at a time
tblUser ----------- UserID uniqueidentifier PK (newid) UserName varchar(MAX) tblCompany ---------------- CompanyID uniqueidentifier PK newid() CompanyName varchar(MAX) tblUserCart ----------------------- CompanyID uniqueidentifier FK newid() UserID uniqueidentifier PK Product varchar(MAX) Asume we got 3 tables like above. Relation ship is clear: tbluser ---->tblUserCart-----<tblCompany What i want is , if user gives an order from a company , sql 2005 will decline the orders from other Companies. Naturally Orders are stored in the tblUserCart table. For example, if user Arnold gives an order of CuttingTool from Company named T3 , Arnold will not be able to give another order from other than T3. I hope im clear about situation. H ...Show All
SQL Server SQL Mobile support for CE 4.2
An update was supposed to be released for SQL Server Mobile which enabled support for CE 4.2. This was supposed to be released around the time of CF 2.0 sp1. SP1 came out over a month ago and there is still no sign of the SQL Mobile update. Does anyone have any information on a release date you are correct - support for WinCE 4.2 has not been released yet but I am working on getting you an exact date. All I can say right now until I get official word from MS is that it will be very soon. Darren ...Show All
SQL Server SQL XML and position()
I am trying to use SQLXML to return customer and orders rows in a master detail relationship where I want to return results only for those items where the most recent order was placed by a certain sales person. I have tried using something like /root/Customer[child::Orders[position()=last() and AssignedTo='MAK']] but it says that position() isn't supported. I think considered using an XPath query to just do this on the returned results however what the XPath gives me an XPathNavigator which I cannot convert using an XSL transform (or at least I do not see how). The solution already uses SQLXML and and XSLT to create the output and I need to come up with some way to add this additional criteria/filter before it is transformed into the fi ...Show All
Visual Studio 2008 (Pre-release) How to show/hide column in GridView
Hi everybody, Please help me show/hide column in GridView of Avalon. Datagridview of window form 2.0 has visible property in order to show/hide columns. Every body solved my issue, please let me knows. Thanks. Steven Here i found the solution http://www.beansoftware.com/ASP.NET-Tutorials/GridView-Hidden-Column.aspx Thanks and Best of Luck Asad Naeem ...Show All
SQL Server E book Build a Program Now companion code
I am going through the E book after down loading Express VB 2005. I can't find the companion code samples. I have already tried http://www.microsoft.com/mspress/companion/0-7356 I did a quick search and this came up... http://www.microsoft.com/mspress/companion/0-7356-2213-2/ Looks like you can download the samples here. Thanks, Sam Lester (MSFT) ...Show All
