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

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

winprock

Member List

Ed Warren
dannyge
UsingBytes
audioslave
Threads! Help!
Marcel de Vries
Noemie
Arvindh.C
boulder_bum
Yahya
Hassan Ayoub
coconut113651
bjkaledas
Thomas Werner
Jalf
grnr_r
Kartit
Engineer2006
Marlun
Vladislav U.
Only Title

winprock's Q&A profile

  • SQL Server Insert SQL table into AS400 Alias

    I have a SQL 2000 table that I want to insert into an AS400 alias. The 400 is a linked server to SQL. I can insert 1 record at a time with Insert OpenQuery. insert openquery(AS400bck, 'select * from netfil.sp') VALUES(1,6,2493,1,30,180,1,-8.00,0,-100.00,0,0,30,180,180,'',2,'X','','') One of the tables is quite large so I don't want to have to use the values clause. How can I insert the entire table at once Does this work I only have read only access to my AS400 environment... insert openquery(AS400bck, 'select * from netfil.sp') select [columns] from table where xxx=yyy ...Show All

  • Visual Studio Express Editions error LNK2001: unresolved external symbol ___wargv

    Hi, I had a code in VC++ 6.0. This is a COM Service. I converted it to VS .Net 2003 and compiled it. I am using MFC in Shared Dll and getting the following linker errors. LINK : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library uafxcwd.lib(appcore.obj) : error LNK2001: unresolved external symbol ___wargv uafxcwd.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argc ..\exe\ISSPS.exe : fatal error LNK1120: 2 unresolved externals Can anyone help me to solve this. Thanks, Palaniappa wrote: LINK : warning LNK4075: ignoring '/EDITANDC ...Show All

  • Visual C# Cannot implicitly convert type 'string' to 'bool'

    private void DataGrid1_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e) { if (e.Item.ItemType==ListItemType.Item || e.Item.ItemType==ListItemType.AlternatingItem || e.Item.ItemType== ListItemType.EditItem || e.Item.ItemType==ListItemType.SelectedItem) { CheckBox cbBI=e.Item.FindControl( "Price" ); cbBI.Checked=e.Item.Cells[18].Text.ToString(); } } check the length of string cbBI.Checked = e.Item.Cells[18].Text. Length >0;   mark answer questions tell me if some thing goes wrong ...Show All

  • Windows Forms Updating project without changing DB

    Please excuse me if this is a silly question but this is my first project with VB (VS 2005 Express Edition). The application uses SQL Server 2005 Express. Soon, I will be in a position to take a large amount of data from the end user of the project and put it into the database then deploy the application to his machine. This will be a long process as there is some data in spreadsheets and lots of data on the backs of envelopes etc! At this point he will begin to use the application and add/modify data on a regular basis. However, after a few weeks, he will return to me and say "Can you change this part There's a bug in that part etc." How can I then update the application and re-install it on his machine and mai ...Show All

  • Visual Studio Express Editions Can't Download Anything from Microsoft

    Every time I try a Microsoft download (Visual Studio, .Net Framework, SQL Server or anything else) I got a http://download.microsoft.com Cannot find server error on IE. Everything else in the world works fine. I'm using WinXP Pro with a Cable modem, IE 6.0.2900. Anyone ever run into this sounds like some ISP related issue. Try contacting your ISP to see if your IP Address is on the blacklist or something.... Tried doing this from another computer What happens Tried perhaps creating a new user account and accessing it through this new account as a method of testing ...Show All

  • Architecture Web farm architecture

    I want to design a web farm with three web servers. Can I use Application Center to do that If yes, is there any reference design diagram If no, any other suggestion pyeung wrote: I think deployment issue is yet to be solved before I can recommend it to my boss without using Application Center. Suppose a developer is using Visual Studio 2005 on Windows XP, how can he detached a node from the cluster, deploy the application and add the node back to cluster. Any reference materials You certainly need to solve the deployment problem, but that depends a lot about your architecture and needs, so it's hard to say exactly what the answer will be; but it is certainly doable. That said, you probably don't want your developers dire ...Show All

  • Windows Forms Deployment Problem with SQL EXpress !!

    Hi, I have a SQLExpress database in my project and it's working well in my Computer ,But when i deploy my project and install in another pc my app can not login to the server ,please give me a compelete help about this problem , and about how to include an SQLExpress database to a project setup , Tanx . Hi, We are using VB.NET 2003 and SQL Express 2005. We would like to deploy a sample application first with SQL Express database in our client machine. My questions are: 1) Is it possible to include the SQL Express 2005 database file in .NET 2003 setup project If 'Yes' tell me in detail 2) Tell me the dependency files for SQL Express 2005 in .NET 2003 setup project 3) Should client machine need o ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Possible bug? - Textures and Source Areas

    Hi, I've been experimenting and trying to draw a 2D texture (using a sprite batch) to the screen. Now I've specified a source rectangle for the texture - which is at (x, y) and of width & height 1x1. So essentially a single pixel from the source texture, which is RGBA (0, 0, 0, 255) i.e. solid black. When I render this and specify a destination rectangle, what's rendered seems to take into account the pixels either side of the source rectangle - which are RGBA (0, 0, 0, 0) i.e. transparent black. Now this seems to me slightly illogical or at the least counterintuitive - that pixels *outside* the source rectangle should affect what's being drawn! Well, if someone could explain this to me I'd appreciate it very much, or perhaps confir ...Show All

  • Visual Studio documentation bug

    The MSDN docs say: ProjectFile Builds the specified targets in the project file. If a project file is not specified, MSBuild searches the current working directory for a file name extension that ends in "proj" and uses that file. This argument also accepts Visual Studio 2005 solution files. However, if there is both a .proj and a .sln file in the directory, it wants a project filename passed. Either the docs or the msbuild.exe program is wrong. thanks - dave Well I navigated all the links to the form, entered every field except the last (lots of fields) and then it kicked me out. So sorry, but I'm not trying that again. thanks - dave ...Show All

  • Visual C# How can I create an empty XmlElementString with XmlWriter

    I am trying to dump out a collection of values from an editor I am writing. There are some elements that I need to write out, even though they are empty. Whenever I try something like... writer.WriteElementString( "variable" , "" ); or writer.WriteElementString( "variable" , string .Empty); I get <variable /> instead of <variable></variable> I tried a WriteStartElement("variable") followed by a WriteEndElement but that gave me... <variable> </variable> Does the line separation make any difference to having it all on one line i can see you already have that in the code and it should work tw.WriteStartElement( "variable", String.EMpty ); ...Show All

  • Visual Studio The report definition for report 'xxx' has not been specified

    Hello, I have to confess that I never did anything with reporting services, reports, or whatsoever. For a rather huge database application (based on sql express) I thought it might be best to do the printing with local reports, which I planed to bind to the objects, I already used as data layer in my project. I created a simple report (just a table, with two fields), bound the report to the ReportViewer-Control, set the bindingsource-properties in form load. But the only thing I see is this error message "The report definition for report 'xxx' has not been specified" So: What *is* a report definition and how *do* I specify it Are there any infos I can get somewhere, to learn more about the whole concept Thanks, Klaus ...Show All

  • Visual C++ Managed vs Unmanaged C++

    How do you tell if a code is managed or unmanaged C++ And if you are looking at source code and want to know if it was intended to be compiled under /CLR, the three main giveaways that I can think of are: 1. The presence of using namespace System; (or other namespaces scoped within System ) at the top of the source file. 2. The use of ref class instead of just class , making the class managed. 3. The occurances of the character ^ on types, which are managed references. e.g. String^ myString; ...Show All

  • Visual Studio 2008 (Pre-release) ListViewItem w/Context Menu

    I hope this isnt a dumb question, but I'm hoping someone can help me understand the expected behavior of right-click in a ListView. Here is the problem: If you have a context menu on a ListView in Multiple or Extended selection mode a right click to bring up the context menu will toggle the selection. I have mocked up a small repro using the ListViewCheckBox example in the SDK. I've inlcuded the modified XAML and the unchanged codebehind. All I did was add a contextmenu to the listviewitem. How to repro: 1. Select Multiple items 2. Right click on a selected item to bring up the context menu. This action will toggle the selection to unselected. The item is no longer viewable in your collection. Based on my observations the WP ...Show All

  • Smart Device Development How to debug installed C# [managed] application.

    I know How to debug application by runing in debug mode. I also know how to debug a native application which is installed on a device or emulator by the help of attaching the process. But how can I debug a manage[C#] installed application. Please help me I am installing the application by the help of cab file where you want to debug the app. on device or on emulator The difference is that you must choose the target device! Open the project and start debugger (F5). The project must be executable . ...Show All

  • Windows Forms passing data from richtextbox to richtexbox

    Hello people what i am trying to do is pass data between 2 RichTextBoxes that are on differnet forms. I tried with the Me.RichTextbox1 = My.Forms.Form4.RichTextBoxe1( ) but it doesnt work. Any suggestions Thanks any help will be appreciated Copy the richtextbox RTF property from one RichTextBox to the other class ="txt4"> Me .RichTextbox1.Rtf = My.Forms.Form4.RichTextBoxe1.Rtf ...Show All

©2008 Software Development Network