Software Development Network Logo
  • Windows Forms
  • Visual C++
  • Microsoft ISV
  • Game Technologies
  • .NET Development
  • SQL Server
  • IE Development
  • Visual Studio
  • Visual C#
  • Visual Basic
  • SharePoint Products
  • Windows Vista
  • Audio and Video
  • Smart Devicet
  • Visual FoxPro

Software Development Network >> Vahid66's Q&A profile

Vahid66

Member List

Jan Kučera
Heinsz
donna123
&#169&#59; Ţĩмό Şąļσмāĸ
Bigmo
Javier Martinez
djchapin
susanasusana
Christina Tabet
thedo
SaintJimmy
AlexBB
rta_llc
AlexDe
NeilSt
Michael J Brown
Spanglishone
Grimal
Peto_SVK
uma kadagi
Only Title

Vahid66's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Problem uninstalling Beta 1

    Hi everyone, I've previously installed Game Studio Express Beta 1 and it's all worked fine. I'm having a problem uninstalling it though. I can't find the program entry for it in Add/Remove Programs. Can anyone please help me find a way to uninstall it as I can't find anything in the XNA folder that could help. You might try reinstalling Beta 1. That might clean up whatever got messed up the first time around so you can uninstall it. ...Show All

  • SQL Server RS2005: ReportManager and Forms Authentication : The report server is not responding

    Hi, Sorry for the long post but I'll try to give a maximum of information. I've tried to implement Form Authentication for Reporting Services. Right now, just about everything works as I would hope for, i.e.: When I try to access http://<server>/ReportServer$SQLSERVER_2005 , I am redirected to the authentication form. When successfully authenticated, I can access the report I can display reports throught the ReportViewer Web control by passing the authentication cookie. Etc. (Note: My implementation of Form Authentication was inspired by http://www.devx.com/dotnet/Article/26759/0/page/1 which seems similar to Microsoft Sample) (The $SQLSERVER_2005 suffix is because SQL Server 2000 is also installed on the s ...Show All

  • Visual C# Throw Exception gets unhandled error

    I am creating a multi-layered application using dlls' and want to throw any exception that occurs (and also create my own exceptions to throw) back to the originating code. When I try this though I get an error that the exception is unhandled. I am trying to handle it by just throwing it. This occurs at the first throw which is in class a catch clause. The following dll deals with database access. The code snippet is : class a{ public object ExecuteScalar( QueryBuilder QB){ object res = "" ; try { string sql = BuildSQL(QB); // connect to the database and run the query SqlCommand cmd = new SqlCommand (sql, DBConnections .SQLConn); DBConnections .SQLConn.Open(); res = cmd.ExecuteS ...Show All

  • Software Development for Windows Vista Threading issue using windowless VMR9?

    Hi, I'm using a windows VMR9 (with a custom allocator/presenter) to play back a video file. I use a seperate thread to display the frames from the VMR9 onto some Direct3D geometry. The problem I have is that just occasionally the display thread will fail in a call to Device.StretchRectangle() when copying the surface generated by the VMR9 to my own surface. I suspect this may be a resource locking issue and the VMR9 is attempting to write to the surface at the same time I'm reading from it, but I'm not too sure, and I have created my device with the 'support multi-threading' flag. Is this likely, or is there something else I've failed to realise And if so, how do I lock the surface to prevent this problem from happening (Edit: oops, just ...Show All

  • Software Development for Windows Vista USMT 3.0 in Spanish

    Can I get USMT 3.0 in Spanish , Where ...Show All

  • SQL Server SQL 2005 and ADO.NET 1.1 compatibility

    we have applications currently talking to a sql 2000 DB via ado.net 1.1. will we have any problems if we upgrade to sql 2005, will the app have to be modified. This will work fine together, although you cannot use the new features of SQL Server like query notification. But for plain data access that should fit your needs. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual C# Making query in SQL Server - What is the best way?

    Hi i am making a web application using SQL Server 2005. i am trying to make all my query using stored procedure in database and just passing the parameter to the database. I am having some complex task that I can't do in one query. So what is the best way to make the best performance Using complex stored procedure or using more code instead Thanks a lot for your help There are alot of Stored Procedures vs. Dynamic SQL battles. I don't agree with using Stored Procedures, but for preformance it can be better to create one complex Stored Procedure then alot of Dynamic SQL queries. But i geus this is minimum and for most situations not even noticeable! I geus you can better create maintainable and understandable code then worry abo ...Show All

  • SQL Server SQL profiler not reading application names

    Hi guys, Im not really sure how complicated this is but we shall see. Im running a .exe compiled from 4GL which accesses the database. But when I run a trace on the database no application name is picked up. Does anyone know how SQL profiler finds the application name or what is required in the .exe file for SQL profiler to see the application name This would be a great help if anyone has any information. Many thanks, Querix There are a couple of ways that the name is populated. You'll often want to combine the application name with NT User Name and SQL User Name. The application reports the application name, and not all of them do. The name normally comes from the the connection string: server=My ...Show All

  • SQL Server Excel as Frontend to SSAS 2005 Cube

    Hi, there, I am working on Excel as a front-end to a SSAS2005 cube. I intended to create a simple add-in that allows users to write back to the cube. Users will first retrieve data from the cube to pivot table and write back to the cube from the pivot table. I can find some sample source based on adodb and AS2000 but not adomd .net and SSAS2005. For the time being, information on SSAS2005 write-back from Excel seems very little. Not much references that I can refer to. Anyone can shed some light on this I would appreciate it if you can provide me some sample source in VBA using adomd .net or others that can demonstrate the write-back to a SSAS2005 cube. It would be great if the sample will be based on the AdventureWorksDW cube. Th ...Show All

  • Windows Forms How can we achieve Scroll lock type functionality in text box Or Richtextbox (c#)

    I have a multiline textbox/RTB where text is appended every 20 ms. I want to copy some text in between and see what i have received. But whenever I click on RTB, It scrolls to down and I am not able to copy related text. So How can I achieve scroll lock functionality. I want the same behaviour as dot net IDE output window where text keeps on appending but whenever we want to copy it allows us to do. Currently i buffered all messages in queue from the time user clicks lock till clicks unlock and then appending all messages from queue. but this is temp soln. still looking for the better one. ...Show All

  • .NET Development soap response processing.......

    Hi, I need to connect to a webservice and post soap request via http and should get response back and then need to process it, I am getting soap response back. now I need to process it and display in a grid, which would be the best way to process it, if I convert it to xml it would be easy for the dispaly, is anyway we can do it, pleaseeeeeeeeee advise. thanks Hi I am trying to send xml over HTTP to the server in the other contry and write the result or error messages back to the textbox in the WINDOWS FORM.I have vb6 application working fine but i want that application on vb 2005. I have upgraded but left with so many errors and couldn't fix it. The part of xml file look like the one below; Can you ...Show All

  • Visual Studio Express Editions Timer won't fire

    I have a timer on form1 with the timer_tick set up like this:     Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick         teaTime = False         MessageBox.Show("End timer")     End Sub In a module I have:     Public Sub Transition1()         Form1.Timer1.Enabled = True         teaTime = True         Dim st As Integer = 0         Do While teaTime             ...Show All

  • Visual Studio 2008 (Pre-release) Showing a control on a popup twice blows up

    Hi everyone, I'm trying to show a popup over and over that reuses a child control but I get this exception on the second time of displaying the popup: "Must disconnect specified child from current parent Visual before attaching to new parent Visual." XAML is this in a Window: < Button Click = " button_Click " > Click me </ Button > Codebehind is this: --- private Button popupButton; private void button_Click(object sender, RoutedEventArgs e) { if (popupButton == null) { popupButton = new Button(); popupButton.Content = "This button on a popup"; } Popup popup = new Popup(); popup.Child = popupButton; popup.PlacementTarget = this; popup.PlacementRectangle = new Rect(0, ...Show All

  • SQL Server Skipping Rows with OPENROWSET

    I was wondering if anyone happen to know how to skip the first and last row within a fixed length file i saw the firstrow and last options but they dont seem to work. SELECT top 10 * FROM OPENROWSET ( BULK '\\servername\e$\text.txt' , FORMATFILE = '\\dbservername06\e$\test_format.fmt' )   Any Thoughts Thanks DM So you tried the FIRSTROW, LASTROW options like: SELECT top 10 * FROM OPENROWSET ( BULK '\\servername\e$\text.txt' , FORMATFILE = '\\dbservername06\e$\test_format.fmt', FIRSTROW = 100, LASTROW = 200 ) And why didn't it work What was the results you got Did you get any errors ...Show All

  • .NET Development ObjectDataSource_inserted - Get last inserted id

    i am trying to get the id of the last inserted row in my table. have created an sql.xsd with query called test. when i configure the sql statement i use advanced options to make the sql "Refresh the data table". my problem is that i cant get the value from my query :( any suggestions using vb in Visual Studio 2005 Depending on a database, you would need to use scope_identity() function (for SQL Server) or @@IDENTITY variable for Access to query last identity value. Next link shows you how to do this http://support.microsoft.com/kb/816112/en-us ...Show All

©2008 Software Development Network