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

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

cipcip

Member List

Terrence Chan
hayward_ke
jackinthegreen
Sanjoy Bhowal
GMS0012
tunesmith
Norbert.Bender
cjou2004
Nishith Shah
Shihan
David E Montgomery
jss3426
.NetProgrammer
John Mathews
Handerson
vijayshankark
Ricky Tan - MSFT
user__2006
Alex2200
Scotty12105
Only Title

cipcip's Q&A profile

  • Visual Studio 2008 (Pre-release) How to enable tracing in code without using configuration?

    Hi All, I am trying to enable MessageLogging on my client without using a configuration file. In my situation i dont have an configuration available for my client. I tried adding to following code to my client but no go... i am probably missing something very obvious... XmlWriterTraceListener l = new XmlWriterTraceListener ( @"C:\wcf.log" , "ServiceModelMessageLoggingListener" ); l.TraceOutputOptions = TraceOptions .DateTime; TraceSource s = new TraceSource ( "System.ServiceModel.MessageLogging" , SourceLevels .Warning | SourceLevels .ActivityTracing); s.Listeners.Add(l); Can anyone point me in the right direction Hi Mohamma ...Show All

  • Microsoft ISV Community Center Forums Delete Unwanted rows based on value in cell

    Hi all, I have to loop through a range of rows with an excel sheet and delete unwanted data. To identify the rows to be deleted I have to do the following: Firstly I must start at A1 and check if it contains the value "Product", if not i go to the next row but if it does i must then delete this row and go to the next. I must then check that the next cell contains the value "Total", if not i go to the next row but if it does i must then delete this row and go to the next. I then need to delete each of the next rows until i find the next cell that contains the value "Product", delete this cell and then go through each of the next rows until i find the next cell that contains the value "Total&quo ...Show All

  • Visual C# Need some help - very confused about arrays and custom classes...

    This is a bit of my code to create & populate an array of class Card (this is part of a larger Class Deck which is creating it's own little array of cards. public Card[] deck = new Card[25]; public Deck(int numPacks) { int deckCtr = 0; for (int steCtr = 1; steCtr < 4; steCtr++) { for (int fceCtr = 2; fceCtr < 15; fceCtr++) { if (!(fceCtr == 15 & (steCtr == 3 | steCtr == 4))) { deck[deckCtr].setCard(fceCtr, steCtr); } } } } The highlighted portion generates this error: "Object reference not set to an instance of an object". I'm sure I'm just not creating my array properly, I can create an single instance of class Card no prob ...Show All

  • Visual C# Excel versions

    Hi, I am writing my application that using the Excel 2000 COM file. Can somebody tell me if it will be run on computer with Excel XP/2003 Thank's Alexei I am not familiar enough with the Excel model to write the code but if you post the code that you are having problems with then someone will be able to help you. Ultimately it'll boil down to adding the Office assemblies to your project and then creating instances of the Excel classes just as you would in a normal application. The COM interop assembly for Office should hide the remainder of the details. Be sure to use the Office 2000 version though otherwise you will not be able to work with Office 2000 and higher. Michael Taylor - 12/28/06 http://p3net.mvps.org ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Visual C++ : Going from 2D to 3D Drawings

    Hi,   I finished an application in Visual C++ 2005 which draws and manipulates different figures on screen using GDI+.  Now, I would like to go a step further and draw those same figures in 3D.  Is there any articles available on the subject   Where should I start   A couple weeks ago, I remember having read something on using DirectX library for this, or maybe something else related.  If it is the right step to take, does anyone have any infos on which library would be the best to use and how to use it   Any example Thanks in advance, Stephane Hi Jonathan, Thanks for the link. Really appreciated. I understand that I must download and inst ...Show All

  • Visual FoxPro Transactions, buffering questions...

    Hi all! I do have a code were I open a table, store it on a cursor like: select name,surname,address from myTable into cursor myCursor readWrite and I display it on a grid. Then what I do is to let the user select a record, click on an " EDIT " button and edit the specific record (on another form), and after he clicks on a " SAVE " button to commit the changes to the table. So far everything is fine! My main problem/question is that I need this software to be a multiuser application and run over a LAN. So all the tables are shared (so the database is) and I try to use BEGIN TRANSACTION , END TRANSACTION and ROLLBACK commands. But suppose I have 2 users, user A and user B. If user A and user B are both viewin ...Show All

  • Windows Forms Datagridview / Bindinglist display refresh question

    I have a datagridview control dgv on a form in a Windows app. I want to display data which is contained in a BindingList bl. Currently, I am binding the grid to the list using the datasource property of the grid: dgv.Datasource=bl; When I change data in the underlying objects contained in the bindinglist, the datagrid display does not update. I can get it to change if I re-assign the datasource and refresh the grid: dv.datasource=bl; dv.refresh; Seems to me that there should be a better way than to rebind the entire list B You need to call ResetBindings() on the BindingList. // Change object inside BindingList bl.ResetBindings(); Read more about it here. http://msdn2.microsoft.com/en-us/library/sys ...Show All

  • Windows Forms Use and deployment of a custom application framework

    We decided in the development team recently to do things "the way they should be" about deployment, especially concerning libraries and project dependencies. We came up with a scenario we know, for the main part, to be possible because we're experiencing it with some components (the example being Crystal Reports) but we are still wondering how this scenario is possibly achievable. BTW, I read the document Deploying .NET Applications Lifecycle Guide and did not find the answers I was searching for. If they are there, please point me where, I'll be delited to read again what I have maybe missed in the first place. So, here is the pattern of what we would like to achieve: We have a custom application framework called Foreha ...Show All

  • Visual Studio installing using the .IMG file?

    I downloaded the VisualStudio 2005 trial version but am at a loss as how to install it from an .IMG file type What am I missing here This link may be helpful. Check out the bottom of the page "Mounting ISO files virtually" and download the utility to split the image file to your hard drive. http://www.microsoft.com/downloads/details.aspx FamilyID=13f8e273-f5ea-4b7b-b022-97755838db94&DisplayLang=en ...Show All

  • Windows Live Developer Forums AdCenter API Documentation

    Where i can find the new adcenter api documentation and domain model Thanks SEMuser I don't think it's possible but I'll pass this along as a feature request to our MSDN team. This is a great suggestion. Thanks! ...Show All

  • Visual Studio Team System Question about Workspace in command line

    If my workspace is set up for a project containing many sub-projects. If I want to get files for one of the sub-projects, all I do is "cd" into the appropriate directory and invoke the get command, correct What if I just a copy of the source for the sub-project in another location What do I do Do I create another workspace at the sub-project level "Tf get" is "update my entire workspace". To get "from this directory on down", I use "tf get * /r" - don't know if that differs from "tf get . /r" or not. Like Richard, I'm not sure what you're asking in your 2nd question, but if we didn't cover it, please elaborate and we'll try to help you o ...Show All

  • Visual Studio Tools for Office Tool to test trust to office documents

    Hi I have a problem with one of my users computers. It has just been upgraded to XP. Apparently all security settings is as they should be, with full trust to both the assembly and the document. The assembly full trust can be verified through the .Net Framework 2.0 Configuration. But that can only test assemblies, not .doc files. Are there any tools that can verify if a word document has explicit full trust as needed My setup is as follows. The dll: Compiled and deployed with strongname on a network file share. A rule added to security framework granting full trust to all assemblies with the public key from the keypair used to built the assembly under the local intranet code group The doc: The template is deployed on a netwo ...Show All

  • SQL Server PAD function in Data Tranformation Editor

    I have a value with a float datatype in Excel that is actually a date. For example, the value displays 1272006 for January 27, 2006. I am trying to convert this value to a date. I can do this in several stages using T-SQL by converting the datatype to integer, using replicate to make it eight characters and than using substrings to make it look like 01-27-2006 which SQL Server will recognize as a date. My problem is that there is nothing similar to a PAD (replicate) function using the Data Tranformation Editor in Integration Services. There is a replicate function but it merely functions to repeat a value. It doesn't appear to perform the same PAD function as the T-SQL replicate does. Here is my formula in T-SQL that works okay. rig ...Show All

  • SQL Server Run a task multiple times

    I have a situation where I run the same taks multiple times during the execution. I would like to have one task which runs every time, instead of duplicating the task over and over 14 times in my script. Basically, it is an audit log, which I set variables and then insert into a SQL table the variables. I would like to do this: Task1 ------Success-----> Set Vars -----Success--> Log | Task2 ------Success-----> Set Vars -----Success-| (do the Log task again) | Task3 -------Success-----> Set Vars -----Success-| (do the Log task again) | etc This works, however, I have to duplicate Log over and over and over. No OR does not work, because it still only executes the Log task once. Another option I thought of, but cannot find a w ...Show All

  • SQL Server How to upload a file to a Server URL using Web Service Task?

    Hi, I have been trying to setup a web service task to use my http connection manager that connects to a server url. What I want to do is to upload a file to a web server... can this be done using web service task and what is the WSDL and what happens when my target server usis SSL so instead of http, it should use https I need help with this one... can't quite imagine how to get things rolling.. Thanks in advance! Kervy Hi, I went to Jamie's link and tried the code there, it works for file download.. but whenever I try to to a file upload I get an Error: The remote server returned an error: (405) Method Not Allowed.. I already granted the Iuser and ASPnet user full control to the f ...Show All

©2008 Software Development Network