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

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

dbldown768

Member List

LaoZeng
Spankmaster79
smattessich
James_Steven
sl0140
B.F.Rej
ShrikantBijapurkar
HMote
Jeff Williams
Ananda Ganesh
Kashif Haqqani
Zatoichi
smartpi
droujav
kangalert
Ralphs
eqwang
aybe
CraigC
GeorgeCC
Only Title

dbldown768's Q&A profile

  • Visual C++ LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup

    Hi, I had a project which compiled without any problems on VS 2003. However as soon as I migrated the project to VS2005 I started getting the above error. My project uses its own library which has its own startup routine which was created to reduce the size of the executable. It uses the run time library only for routines related to SEH and stack checking. I have verified that the linker option advanced->EntryPoint is set to point to my routine. Additionally my application is a windows application and I have the _WINDOWS defined in the preprocessor section. It also has the linker option /SUBSYSTEM:WINDOWS. When I set the linker option to ignore all default libraries I get unresolved externals relating to SEH (_SEH_*), memory operatio ...Show All

  • SQL Server Passing parameters to a stored procedure

    Hey people, I am trying to pass a parameter to a stored procedure based on a select statement. Basically it's something like this (in my head :P ): foreach PersonID in (SELECT id FROM person) { MyStoredProcedure(PersonID); } Multiple rows will be returned from the select statement. The code above will be in another stored procedure (not that code but an equivalent in SQL). Is there something like a PL\SQL in SQL Server 2000 How can I translate that into a stored procedure for SQL Thanks to you all! THis is a common apporach: CREATE TABLE #SomeTable ( IdentColum INT IDENTITY(1,1), SomeColumn INT ) DECLARE @Counter INT DECLARE @Rowcount SET @Counter = 1 INSERT INTO #SomeTable(SomeCOlumn) SELECT ID From Person ...Show All

  • .NET Development Reading an MS Word file ?

    Is there any component in ASP that we can read an Ms Word file & display it on web page as it look like in MS Word. Or Can It read a PDF file (Detail: I want to put my CV on my website, but not like a page content, My page read this file & display it & if I want to make changing in my CV, i dont need to change page content but only Word file) ...Show All

  • Visual Studio Express Editions Listbox Help (continued)

    nobugz wrote: Here's a completely different approach: Public Class Form1 Private Class MyListItem Public mText, mUrl As String Public Sub New(ByVal txt As String, ByVal url As String) mText = txt mUrl = url End Sub Public Overrides Function ToString() As String Return mText End Function End Class Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ListBox1.Items.Add(New MyListItem("Radio 1", "www.bbcradio1.com")) End Sub Private Sub ListBox1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ListBox1.Click Dim itm As MyListItem = CType(ListBox1.SelectedItem, MyListItem) WebBrowser1.Navigate(itm.mUrl) End Sub End Clas ...Show All

  • SQL Server Backup error - not part of a multiple family media set

    I am new to SQL 2005. I have setup and new maintanaince plan of making backup on to different paths but i encountered an error saying Executing the query "BACKUP DATABASE [promis_05] TO DISK = N'E:\\ERP Database\\ERP Backup\\Promis_05', DISK = N'\\\\backupsrv\\ERP Backup\\Promis_05' WITH NOFORMAT, INIT, NAME = N'promis_05_backup_20061111181236', SKIP, REWIND, NOUNLOAD, STATS = 10 " failed with the following error: "The volume on device 'E:\\ERP Database\\ERP Backup\\Promis_05' is not part of a multiple family media set. BACKUP WITH FORMAT can be used to form a new media set. BACKUP DATABASE is terminating abnormally.". Possible failure reasons: Problems with the query, "ResultSet" property not set corr ...Show All

  • Visual Studio Team System Date Recreation in VC Migration

    I am attempting to migrate from a previous Version Control to TFS and I was wondering if it is possible to maintain the same dates on the version history. So far I haven't been able to find any method that allows entering dates as a parameter. I was hoping this would work. It attempts to get the current changeset just checked in and change its CreationDate. It doesn't work. Changeset changeSet = versionControl.GetChangeset(n); changeSet.CreationDate = new DateTime (2006, 6, 26, 2, 0, 0); changeSet.Update(); I am not adamant about using the API, but I sure would prefer it. Perhaps there is an option in the Command Line Interface or the GUI It is not possible to update the creation date of ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Sizeof(Color) struct / Terrain Rendering issue

    I'm working on translating a Terrain generation project from a Direct3D book that I purchased into C#/XNA. I so far have accomplished 1) Generating a height map using the algorithm in the book adapted to C# 2) Taking that height map and rendering it to the screen using a Panel in a Windows Forms app (the panel is passed to the GraphicsDevice). Everything works beautifully. Last night, I built out the classes/structs I needed to convert the heightmap into a grid of patches that then are rendered as a model to the panel. I had some bugs in translating to XNA because of no Mesh object. However, I was able to overcome those. It looks like my terrain is rendering, however, I don't think its correctly using my COLOR data. I built out the s ...Show All

  • Windows Forms How do you make a form transparent and NOT it's controls?

    This might sound like a strange question, but since there are no form shape controls, I'm using an image on a form, and want to make parts of it 45% transparent, and the form underneath 100% transparent. How do I that without making the image transparent as well Thanks ahead of time Only set the TransparencyKey with the color that you want becomes trasparent. If your image has a white color, set it to white color. ...Show All

  • Windows Forms Adding data to datagridview progamatically

    Hello all, Im having a problem... I have data to add into a datagridview. The datagridview will use 2 columns. Everything is working except when i add data to the 2nd column, it adds it to the 1st column. Here is the code i am using to add data to the 2nd column. for ( int i = 0; i < dm.GetValue2.Count; i++) { this .dataGridViewCaseType.Columns[1].DataGridView.Rows.Add(dm.GetValue2 .ToString()); } So shouldnt this be working heh I use this same format to add data into column[0] and it works correctly. Has anyone encountered this before and know what i may be doing wrong Thanks for any information. from what I understand, you wish to have the data to be added into a new row of t ...Show All

  • .NET Development Errors using the UploadFile method

    I'm attempting to write a .NET 2.0 web service to upload a file using a specific user ID and Password. I would like to avoid using the ASPNET machine account for security issues. Here is my exact code snipet: My.Computer.Network.UploadFile("C:\sample.log", " http://localhost:3477/wsFileUpload/Uploads ", "testuser", "testuser11") I'm receiving the following WebException error: The remote server returned an error: (405) Method Not Allowed Further error trapping reveals: Status=ProtocolError Sometimes I am receiving: The underlying connection was closed: An unexpected error occurred on a receive. Status=ReceiveFailure I am attempting to run this on my local PC. VWD 2005 Express created a \WebSi ...Show All

  • .NET Development INSERT INTO syntax error?

    Hey all, I'm trying to insert a new row into my database manually, however this isn't goin' quite well. I am using Microsoft Access as my database. The table I am trying to enter a new record in is called 'tbl_hours' and the fields of this table are employee( string ), in( date/time ), out( date/time ), hours( double ). I've tried so many different things, but can't seem to figure out my syntax error. Any suggestions would be great. My code is as follows: Private Sub AddToLog( ByVal emp As Employee) 'The Employee class is a class that has the employee's name, time in, time out, and a function to calculate the total hours. Dim conn As New OleDbConnection(DB) Dim adapter As New OleDbDataAdapter Dim cb As ...Show All

  • .NET Development parameters to Pass through Sql Query

    Hi, I have a problem. I need to access the stored procedure dbo.GetCustomerListFromLocation from MS-Access and this stored procedure takes a parameter of Type nVarchar. Now I am calling this stored procedure as EXECUTE GetCustomerListFromLocation 'Vegas' Actually this query is bind to a report in MS-Access and from my application I would like to open rpCustomers. Now please help me in how to pass parameter to the above PTQ from VB.NET application. Thank you.     Well I found not-so-efficient work around for this problem and it is as follows.   Dim app As New Access.Application         Dim strDBName As String = "D:\Test1.mdb"        ...Show All

  • SQL Server Reporting Services printer problem

    I have a windows NT service, which prints to a laser printer programmatically using MSRS 2K. It works fine with a HP printer however when I try printing to a Lexmark Printer it does not always print. Somebody help. Microsoft please release a latest patch for MSRS 2K, its been so long since we had one. ...Show All

  • SQL Server Configure Integration Services on a Cluster

    Hi I am having an active/active cluster setup where there are 2 virtual SQL Servers one with default instance and other with named instance. 1) i need to know how to cluster integration service. 2) how are the integration packages are run, are they run by the integration services service, or by the SQL Instance 3) When fail over happens from one node to other will my packages continue to run i had setup Integration Services on a Cluster per the following article: http://msdn2.microsoft.com/en-us/library/ms345193.aspx .... but when i do fail over or move the group to another node ... getting an error indicating: An error occured attempting to read properties for the 'xxx IntegrationServices' resource. The object alr ...Show All

  • Visual Basic How can I convert a string to a datetime value

    Question: How can I convert a string value to a datetime value i.e. do the equivalent of System.Convert.ToDateTime(<string value>); Rules: You cannot use the System.Convert statement/class, since Microsoft removed the ability Other information: The June release of the Atlas software has been installed...Maybe this is what's causing the in-ability using System; using System.Text; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; /// <summary> /// Summary description for JobSelectionGet ...Show All

©2008 Software Development Network