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

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

Winvin

Member List

Bear23
DLdfrd
James Boman
dwitt
Seraphino
dotnetsr
ichi
Bobo1234
Ken98045
Dave Ehrlich
mague
jameyer
Rutger Beens
Adnanans78
Frank Uray
Mark The Archer Evans
russ_mac
Jouni79
ReneeC
Ultrawhack
Only Title

Winvin's Q&A profile

  • Windows Forms setup .exe installs correctly but can't it launch the .NET 2.0 & CR.NET 2.0 installers

    Hi, I have a question regarding how to install prerequisites using ClickOnce on a client PC not having the required runtimes installed. How can I enable the user to install the .net 2.0 & crystal reports for .net 2.0 runtimes through my application as prerequisite automatically In my publish tab, i selected: Download prerequisites from same location as my application. But when i run the URL: htp://enigma/publish.thm it gives me a page saying to install the prerequisites & a link to INSTALL. when i click install, it only installs the EXE. It doesnt install the .NET 2.0 framework & crystal for .net 2.0 files. I can see package directories being created for Crystal Reports & .net 2.0 in my deployment server. Alex ...Show All

  • SQL Server How to execute SSIS package with configuration stored in SQL server?

    Hi, I have a SSIS package called "MyExport" stored on the SQL server 2005 standard SP1. I have created an SSIS package configuration stored in a SQL table msdb.dbo.SSIS Configurations, with the configurationFilter = "Export2" with some configuration values which I can change programmatically as needed. How do I execute this package with the configuration in the SQL table I don't seem to have any problem when the package configuration is stored in an .xml file. The documentation is very poor or non-existant on trying to do execute the package with configurations stored in SQL server. I just can't seem to get the proper syntax. Can someone give me an example of a dtexec command for the above or maybe some c# code In Ex ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Using Xbox 360 Controller with my PC (newb)

    I am to understand that you can use a 360 controller to develope games with XNA. I have plugged my wireless controller in via the play and charge cable, but all it does is turn my xbox on in the next room. I assume I need a driver, as my computer did recognize new hardware, but do I also need a wired controller The wireless controller for PC will also work with your 360. Yeah but if you already have 2 perfectly good wireless controllers from when you bought yourxbox 360 why do I have to go buy 2 more for my PC.... just let me by the usb dongle thingy-ma-jig ...Show All

  • .NET Development How to pass the command to the other executable file?

    Hi, I'd like to make a gnuplot to load a file and do some commands in the file. I would like to use C#. I found that I could use in C#: Process.Start("wgnuplot.exe"); to call and run gnuplot, but I don't know how to pass the command for the gnuplot. The command I'd like to pass to gnuplot is: load 'command.gp' where command.gp contains some commands for the gnuplot. There are qestions: Is it possible to pass the command to the other executable file If it is possible, how to do it Thank you very much, Komomomo Thank you for your quick response. I did Process.Start("wgnuplot.exe", "load 'command.gp'"); before, but it doesn't work. I guess this syntax is for pa ...Show All

  • .NET Development installing .net framework SP1 problem

    I was just trying to install the sp1 for 1.1 on a media center pc and i need it because i want to connect to my 360.. Anyways, the message: (Microsoft Visual C++ Runtime Library runtime error! Program: C;/WINDOWS/system32/msiexec.exe This application has requested the Runtime to terminate in an unusal way. Please contact the application;s support team for more information) i have windows installer 3.1 and framewark 2.0 and 1.1 installed and it wont let me uninstall them either, same message comes up. Please can anyone help me hey mahu, i am facing same problem while installing any software on my machine. (Microsoft Visual C++ Runtime Library runtime error! Program: C;/WINDOWS/system32/msiexec.ex ...Show All

  • Visual C# Using Visual C# code in Visual Web Developer Express Edition

    for aspx development, I'm using Visual Web Developer Express Edition. Is there any way to share classes that I develop in Visual C# in Web Developer I know I can copy *.cs files to the "App_Code" folder, but I would prefer to have them both using the same file ( a la "add as link" ). Also, when I *do* copy classes to the "App_Code" folder, the web site runs fine in the Web Developer IDE, but if I try to navigate to it in my browser, I get an error message saying it doesn't recognize the class. ( This is more of a Web Developer question, I grant you, but since I'm on the subject, I hope its alright to ask... ) Thanks for any help, Kirk Lets say I've Declared MyClass in MyNamespace a ...Show All

  • Visual Studio Express Editions Computer communicating with myBrowser

    Hello, I have created a web browser and just having 1 problem. I have set my browser up in the registry as the default browser and that works great. You click on a link on your desktop or wherever on your computer and it opens up myBrowser not IE, but my problem is that when it opens up myBrowser it just loads the homepage and no the webpage of the link/shortcut that the user clicked, so somewhere in my code, it is not accepting the webpage url request from the computer. Does anyone have an idea why this is not happening. myBrowser Class is listed as public also. I'm just trying to get my Browser to accept the website address and to navigate to it when the user clicks a link or shortcut on there computer system. I appreciate anyones help o ...Show All

  • Windows Live Developer Forums Windows Live Contacts Control beta v0.2 Released

    Hi, Danny! I want to use "Windows Live Contacts" service in my desktop application - birthday reminder, that is written on VB.NET ( http://yurivolkov.com/yvReminder/index_en.html ). So I'm trying to figure out the easiest way to implement this, using your work (Control itself or its source code... by the way, source code is not commented and looks like obfuscated...) What's your advice about how to do this -- Yuri Hi, Danny, I had no time to hack your code, so currently I stumbled over the restriction, that HTML files, working with "Windows Live Contacts control" have to be hosted in the Internet. But I'm developing "client application", and not "server application", so in order to use ...Show All

  • Visual Studio 2008 (Pre-release) Username/password authentication

    I have a sample which uses username/password authentication. But whatever I do I can't get it to work. The following code is in my web.config: < binding name = " secured " > < security mode = " TransportWithMessageCredential " > < message clientCredentialType = " UserName " /> </ security > </ binding > and < serviceCredentials > < userNameAuthentication userNamePasswordValidationMode = " MembershipProvider " membershipProviderName = " MyMemberShipProvider " /> </ serviceCredentials > In my app.config is the following code: < security mode = " TransportWithMessageCredential &q ...Show All

  • SQL Server Should I use indexes?

    I have a very large table (about 200,000 records), but there are only 2 fields in the table only one populated with data. I need to update the 2nd field with the first field's data. UPDATE Table1 SET field2 = field1 This is taking a really long time to run about 3.5 minutes. Is this normal Can I create an index What can I do to shorten the run time Thanks, Ninel 3.5 minutes is pretty much OK for 200 000 row update. as NNTP told, indexes will not help here. Let me add that they if you had an index on the table the update would take longer, because, beside updating the rows, server [maybe] had to update index structure also. ...Show All

  • .NET Development Updating dBase tables

    How to update dBase (.dbf) tables I can read them with Odbc or OleDB but CommandBuilder can't create UPD, INS and DEL command based on 'SELECT * FROM dbf_table_name'. Exception is: "Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column information." Yes, with PK column I can update but in most cases I don't have PK col or don't know where is it. How MS_Access change dbf files when I link them There must be some way. Please ignore this post. It is a test post. The forums team is testing Alerts. This post will be deleted in a day or so. Thanks Jana Carter Forums Program Manager ...Show All

  • Software Development for Windows Vista How do I get my custom activities to appear in the toolbox?

    I have a project with some activities which all appear in the toolbox while I’m working with the project. Next I compile the project, open a new project, and reference the assembly from the first project. What do I have to do to get the activities from the first project to appear in the toolbox automatically I’m using the ToolboxItem as shown below: [ ToolboxBitmap ( typeof ( Page ), "ExtendedCodeActivity.ico" )] [ ToolboxItem ( typeof ( ActivityToolboxItem ))] [ Description ( "Like a System.Workflow.Activities.CodeActivity" )] [ Designer ( typeof ( ExtendedCodeActivityDesigner ), typeof ( IDesigner ))] public partial class ExtendedCodeActivity : Activity { ... } Should I use the ...Show All

  • Visual C++ Screenshot in Winlogon Desktop Problem

    Hi, I have a problem capturing the screen in Winlogon desktop, all i get is a black screen. I have an intreractive service and i can actually capture the screen in the default desktop, but as soon i press CTRL+ALT+DEL and the service captures the screen i get the black screenshot. I think i need to switch to the winlogon desktop. This is the actual code the service is running when i detect a ctr+alt+del /// CODE old_desktop = OpenDesktop("Winlogon",0, FALSE, DESKTOP_CREATEMENU | DESKTOP_CREATEWINDOW | DESKTOP_ENUMERATE | DESKTOP_HOOKCONTROL | DESKTOP_WRITEOBJECTS | DESKTOP_READOBJECTS | DESKTOP_SWITCHDESKTOP | GENERIC_WRITE); SwitchDesktop(old_desktop); ScreenShot("c:\\screen.bmp"); ///CODE-+ I've been looking all aro ...Show All

  • .NET Development A Cosmetic Question

    [No ... Not what shade of blush is best] I have a structure that I initialize by passing to a function. BUT, the compiler marks it a Used Before Initialized. Duh, that's what I'm trying to do !!!! [Call me silly, but I hate even one warning] Is there a directive I can place before the call that will turn-off the warning I seem to recall seeing code that directed that certain warnings/errors should be ignored. [The old brain cells -- all 2 of them -- just can't remember where] Roger Dim s As Structure = Nothing it will be assigned something and the compiler will ignore it. Or change your method so it takes a created object and just fills in the fields Dim s as new Structure Public Sub Fill(s As Structure) s.f ...Show All

  • SQL Server Dimension cannot have more than one hierarchy.Hierarchy must be specified explicitly.

    Hi I am new to Analysis services 2005.I have a calculated measure.costval which has following: CREATE MEMBER CURRENTCUBE .[Measures].costval AS IIf ([Dim Date_Financial]. CurrentMember . Level . Name = "Date" , [Measures].[Cost Value], IIF ([Dim Date_Financial]. CurrentMember . Level . Name = "(All)" , ([Dim Date_Financial]. CurrentMember . lastChild ), IIf ([Dim Date_Financial]. CurrentMember . Level . Name = "Year" , ([Date].[Financial]. CurrentMember . lastChild ), IIf ([Dim Date_Financial]. CurrentMember . Level . Name = "FQuarter" , ([Dim Date_Financial]. CurrentMember . lastChild ), IIf ([Dim Date_Financial]. CurrentMember . Level . Name = &qu ...Show All

©2008 Software Development Network