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

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

Bradrover

Member List

Vantoko
Raju Sreenivasan
VOC
AntonioP
SLV
Jehan Badshah
bessermt
BenCh1
B Letts
iKenndac
johnvarney
eginde
Chazcon
sooline
crondog
BrunoAMSilva
Kimberly Wheeler
Manhattan
Steve Whitley
GazCoder
Only Title

Bradrover's Q&A profile

  • SQL Server Stored Procedure - Insert with table name from parameter

    First of all hi for all, I m trying to make insert stored procedure with parameters, i want to send table name and insert values with parameters, i m trying that below stored procedure but it gives syntax eror to me what shoul i do to correct it set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo] . [insertalepform] -- Add the parameters for the stored procedure here @type nvarchar ( 15 ), @talepbrmno int , @birimisteksayi bigint , @birimistektarih datetime , @aciklama nvarchar ( 50 ), @onay int , @seviye int , @talepformno bigint , @taleptarih datetime AS BEGIN SET NOCOUNT ON ; exec ( 'INSERT INTO [BelediyeWork].[dbo].[' + @type + 'TalepForm ...Show All

  • Visual Studio Express Editions Connecting A Client to a server with VB

    I been looking on this since i got it...The only examples that kept poping up were for VB 6.0. I saw the tutorial for VB 6.0 and it was easy bekuz they used win sock.. i seen many example with WIn Sock. What can i use to make a connection from a client to server Just a basic connection. Some one told me there was only 1 sock in VB 2005 that can do it. I understand ports and sending strings from client to server and how they react to the strings. Johnny_Jones91, I am sorry for the delayed answer for this question. According to your description, you're familiar with the VB6 and Winsock, however, in VB.NET, there is a class called Socket class in System.Net namespace can help you to accomplish ...Show All

  • Visual Studio Team System Data Generation Plans

    Hi, After creating a DataGenerationPlan I set the property "Build Action" from Not In Build to "Build". After I set that property, I get an error when trying to rebuild. "Error: The Name of the Object Could Not Be Determined" File DataGenPlan.dgen. I'm using CTP 7. Any suggestions would be appreciated. Thank you. Randy Alle is correct. The Build Action should be "Not in Build" for anything that's not a part of your database schema. This includes data generation plans, maintenance scripts, and scripts that are included by your pre- or post-deployment scripts. Sounds like the docs need to be clearer on that point. I'll see about updating them for our early december online update. I ...Show All

  • SQL Server SQL 2005 Standard on Vista RTM

    Hi All, I've read a number of threads on here where users have managed to get 2005 working on Vista RTM. I'm having no such luck however. The issue I have is as follows: Clean Install of Vista RTM Ultimate 32bit. Attempt to install 2005 Standard. This error appears: SQL Server Setup Failed to compile the Managed Object Format (MOF) file D:\Program Files\Microsoft SQL Server\90\Shared\sqlmgmproviderxpsp2up.mof. To proceed, see "Troubleshooting an Installation of SQL Server 2005" or "How to: View SQL Server 2005 Setup Log Files" in SQL Server 2005 Setup Help documentation. I've read elsewhere that I need Sp2 of SQL Server. I can't install SQL server though so that makes it hard to apply a service ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Dispose

    Hello, I've noticed that apart from the top-level "using" statement, the example code never calls Dispose on anything. Is that something we should care about Does it cause unmanaged resource leaks What resources get disposed for us Thanks, Peter spoons, et al, The Dispose pattern's primary purpose is to expedite release of unmanaged resources, not managed objects. Unmanaged resources tend to be limited in availability; implementing IDisposable allows the calling code to dispose of an object that carries unmanaged resources before the GC gets to it. Potentially long before the GC gets to it. For example, consider an object that wraps a monster bitmap in unmanaged memory. It's often best to dispose it when you're done ...Show All

  • Visual Studio Team System Source control menu doesn't appear

    Hi all, I have something strange ..... the menu of "source control" under "File" menu doesn't appear in my vs .net 2005 professional edition and team explorer installed also. Noting that the source control explorer exists but i can't deal with the solutions exists in the team project and it appears disabled. and when i right click on the solution folder in the repositry the menu doesn't appear ...Show All

  • Smart Device Development Writing EXIF Metadata in Windows Mobile 5

    I have a problem for embedding EXIF metadata information to a JPEG file in a PDA (using Windows Mobile 5). There's a good example to read EXIF metadata from a JPEG: http://www.pocketpcdn.com/forum/viewtopic.php t=6211 I can easily replace the command GetPropertyItem with SetPropertyItem, but what next Because in my opinion, these commands are applied in a memory stream and we have to save it into file if we want to embed the EXIF metadata to a JPEG file. Please help! Thank you in advance. Thank you, I got the ImageCodecInfo object. Next how to choose the correct CLSID for IImagingFactory::CreateImageEncoderToFile And then where do we specify the source image filename Is it in th ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Need a Graphics Card with Min XNA specs

    I just ran a tool and it appears my card is not complient. I was ready to give up Beta'ing this app but then saw some of the cool stuff people are doing, so I gotta get me a card. Do any of you guys have a link you can reccomend for the least expensive graphics card that should meet the requirements to develop with the express app If you know the specific brands/models likely to be the most resonably priced that would be usefull information as well. Thanks in advance for any reccomendations. Jurak wrote: The truth is, if your graphics card is too old, then your entire system is probably too old, and you might as well replace the whole thing. hardly, most branded pc's you buy in the shop ...Show All

  • SharePoint Products and Technologies sharepoint 2007 showing System Account instead of Username / full name

    When i login with my username & password into sharepoint (2007) site, it displays as a "System Account" instead of my username or my full name on the top right corner of the website. What ever changes i make inside the site, for example upload a file, post a comment, sharepoint marks it as a System account instead of my name. Can someone help me figure it out why Thanks. Yes, i had my account information in the application pool. I was able to replace my account information with predefined Network services. Now my username shows up instead of system Account. Search for "Change the application pool identity for a Web application" in help for step by step guidance. Thank you all for h ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Cursor.Hide() not working?

    In my C# Managed DirectX application, I'm trying to hide the cursor. I have tried Cursor.Hide() from within the form constructor, and I have tried oveeriding WndProc and trapping WM_SETCURSOR. Neither approaches seem to work. What other methods could I use The code below shows 2 methods of starting the application; both fail to hide the cursor. class World : Form { /* code */ } #if DEBUG // Run in while loop mode (better for debugging). using (world = new World()) { while (!world.Exit) { world.Action(); } } #else // Run in invalidate/paint mode (more efficient). world = new World(); world.ShowDialog(); #endif r3n, If you are inheriting your World class from System.Win ...Show All

  • Visual C++ Retrieving bitmap pixel dimensions

    Hi, How can I retrieve the pixel dimensions of an HBITMAP object without using MFC Thanks. ---Dan Please limit your use of this forum for its intended scope: C++ language issues. This question is best asked here: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.win32.programmer.gdi&lang=en&cr=US ...Show All

  • .NET Development A http GET request with cookies and referer won't send out?

    Two days I've been debuging, but still can't find why I'm in this situation: My program needs to login to a website, and then get web page which only logined members can get. First, I GET a login page for initial cookies (asp sessionId); Then, I send a POST with proper data (to login) and cookies I got in step 1. Last, I send a GET with the cookies I got in previous step to fetch the page which I really need. The first and second step works pretty fine, but the last step failed. It Never send out a http GET message (oh, to be honest, sometimes, it sends out). I used HttpLook to make sure this. here is the trace message: Making Http Request: url=http://www.akaoyan.com/index_shiti_more.asp action=&c_id=42&s_id=133&page=1, info== ...Show All

  • SQL Server How to map new columns to an oledb destination using script?

    Overview of my scenario: i have an SQL table with 10 columns. I read data off a csv flat file source and insert / update them into the sql. No problems there. Now, after the 10th column, the columns are variable from site to site. Ie, for any customer, the first 10 columns are the same but the following 'n' number of columns can be different. I'm already able to detect what are the 'custom' columns from the source db and can programmatically add / modify the columns to the destination sql tables when SSIS runs. My problem now is, i have the flat file source with 'fixed' and 'custom' columns together, and my sql table is ready to receive them, but i don't have the proper column mappings in my SSIS package. I only have mappings for ...Show All

  • Smart Device Development how can i get current process(our application) memory usage in .Net CF2.0

    Hi, I want to get current process(only our application) allocated memory usage. .Net Framework, i got one property for current process memory usage(WorkingSet64). Sample code: Process myProcess = null ; myProcess = Process .Start( "notepad.exe" ); MessageBox .Show(myProcess. WorkingSet64 .ToString()); But i searched the same in Compact framework. In openNetCF namespace having some property. OpenNETCF. Environment2 .WorkingSet; This is returning whole free physical memory. can anyone help me . which are the property or method will return current(particular application) memory usage . if available any other API or namespace, please let me know ASAP. Thanks, Raj ...Show All

  • .NET Development A Tale of two ServerDocument instantiations

    Question I have a VSTO solution which requires that the manifest of an Excel file be written to so that it will associate with VSTO related assembly. One of the steps required is to write a console application which will write to the manifest in a programmatic fashion. To do that one must use the ServerDocument class and pass in the location of the Excel file. What I have discovered is that ServerDocument quietly fails on any file were there is a space in the directory name such as C:\Program Files\xxx.xls. One can instantiate the class, but under certain scenarios sub objects are not intialized while others they are...on the same file. I have created a test application that looks at the same file placed in different directories such as ...Show All

©2008 Software Development Network