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

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

Samoyed

Member List

MatrixResolver
NickGetz
Mchafu
Thomaschr
Jandost Khoso
Puca
arvindbksc
narasiman_jayachandran_2b5374
donkaiser
FLIPKE
Douglas H. Troy
Cameron D
Philip Tolk
Dasbose
mthomasq3
shekhar saran
nbrege
John Hax
Ty Newton
Learning VB
Only Title

Samoyed's Q&A profile

  • SQL Server If Statement (EASY)

    I'm trying to group ages in one report, and Case numbers in another. Both are in string datatype, and require more then 3 choices. Im not keen on coding, so i was wondering, how do you make an IFF statement with more then 3 choices, i need about 7, maybe even a little more. *this is for a column grouping in a matrix. Here's what i have right now...It works..but i need to add more years. =iif(left(Fields!ICNNo.Value, 1) = "4" , "2004" , iif(left(Fields!ICNNo.Value, 1) = "5" , "2005" , iif(left(Fields!ICNNo.Value, 1) = "6" , "2006" , "Unknown" ))) Please help! thanks! Hi, is it possible for you to place t ...Show All

  • Visual C# ToolTab Have Gone Hay Wire

    HI all turned on VS2005 this morning and had a shock. My Tool Bar has gone hay wire The General tab has renamed itself #13119 and my Report Item Tab has replaced all the reporting controls with text boxes when I chose for a reset all it does is add another text box in the tab. So I reinstalled/repaired VS2005 and the problem has not been fixed does any one know what i have done to mess my system up and more importantly how to rectify the problem.Many thanks Thanks for the reply someone had already suggested that to little avail so unistalled and reinstalled VS2005 a couple of time then found this MSDN Article and have got the tool bars working but in the output window upon load get the following messages. T ...Show All

  • Visual Studio 2008 (Pre-release) Troubles on running WFC Lab 2 on June CTP

    Hi There I have trouble running the " CON002 Hands-On Lab Lab Manual Reliable, Transacted and Instrumented Messaging with the Windows Communication Foundation This lab is designed for use with the .NET Framework 3 Beta 2." On the June CTP of the .Net Framework 3.0. The lab works until taks 4. (the only thing I had to do is changing [ ServiceContract (Session = true )] to [ ServiceContract (SessionMode = SessionMode .Required)] However when doing taks 4 I get a bunch of errors when compiling: Error 1 The type or namespace name 'IRequestContext' could not be found (are you missing a using directive or an assembly reference ) C:\Data\Tests\TradingServiceV2\Cli ...Show All

  • SQL Server Fatal exception while firing a rule

    Hi, I am having a problem when moving our NS application from dev environment to testing environment. What happens, is that when the rule is fired, a fatal exception is generated. Any hints how I can start hunting down what the source of the problem is. The thing is, this works in dev environment, but not in test. Further, if I try to execute the stored proc manually which fails ( NS_MyAppApplication].[NSFire3] ) I get the same error: A user request from the session with SPID 63 generated a fatal exception. SQL Server is terminating this session. Both dev and test environments use same ADF and ICF files. The ADF file is pretty much like in the InventoryTracker sample, using ConditionAction element like this: <ConditionAction> ...Show All

  • Software Development for Windows Vista Problems with Web folders (WebDav) in IE7

    Hi, I want to access a web folder with my IE, using a link in my portal. It seems like MS changed the way Web Folders work, since it doesn't work with IE7. whereas with IE6 it works perfectly. IE doesn't open the web folder and I get a "My Computer" window opened instead. I managed to bypass this behaviour by openning the Web Folder in an IFRAME, but still when trying to open a directory inside I get the same "My Computer" window. Please advise how to solve this issue. Hi, I have the same problem when I acces a webfolder. With IE6 it works very well but since the update to final IE7 webdav doesn't work. Any resolutions ...Show All

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

    I am currently teaching myself VB.net and I wanted to know if there was any other languages reccomended for those wishing to use XNA and if so, good reading to learn these languages. I am currently delving into Jesse Liberty's Learning Visual Basic.net. Thanks for any help In my opinion, when you're a developer, all languages are useful. For XNA, C# is definitely the MOST useful. But really, once you understand development, learning another language is just learning the syntax of that language, the logic of the language remains the same. And you're in luck for the C# recommendations, I just recently started a thread collecting links and suggestions for sites and books about learning C#. You can find it here . I hope that helps! ...Show All

  • Visual C++ C1083: Cannot open include file: 'crtdefs.h'

    Hi ALL: The Story so far ... We are trying to get C++ Express to go! So Far it is not doing anything except giving cryptic error messages. Build Log Build started: Project: TIM, Configuration: Debug|Win32 Command Lines Creating temporary file "f:\Program Files\Microsoft SDK\Bin\HELLO!\TIM\TIM\Debug\RSP0000392883768.rsp" with contents [ /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /MDd /Yu"stdafx.h" /Fp"Debug\TIM.pch" /Fo"Debug\\" /Fd"Debug\vc80.pdb" /W3 /c /Wp64 /ZI /TP ".\TIM.cpp" ] ...Show All

  • Software Development for Windows Vista Any XPS Guru's Around?

    Can anyone provide a c# example of how I can copy / reuse XPS resources In creating a "template" system, I'm trying to: 1) read an XPS document; 2) replace place-holder text with actual text; 3) write new XPS document. My works so far leave an XPS document that when opened gives the error "AddFontResourceEx failed" :( Any help would greatly be appreciated. C4702 wrote: Can anyone provide a c# example of how I can copy / reuse XPS resources In creating a "template" system, I'm trying to: 1) read an XPS document; 2) replace place-holder text with actual text; 3) write new XPS document. My works so far leave an XPS document that when opened gives the error "A ...Show All

  • Visual C++ Issues while porting VC++ 6.0 project to VC++ 2005

    Hi all, I am new to VC++ 2005. I am porting a COM project created previously with VC++ 6.0 to VC++ 2005. I am running into few compilation issues. Request for help. My code looks like below ..... //I have following in my file include.... //I added strstream in the include as part of porting #include <strstream> // ostrstream using namespace std; ................. //A function which has ostrstream as one of the params..... void ConLong(FieldsPtr fields, ostrstream s, const char *name) { _variant_t v = fields->GetItem(name)->Value; if (v.vt != VT_I4) s << '|'; else s << v.lVal << '|'; } //and the above function is called as follows... STDMETHODIMP CTest::Add(VARIANT *recordset, VARIAN ...Show All

  • .NET Development Difference between BindingList<T> and List<T>

    I wrote a small application that binds my datagrid to a List<T>. It works fine. Then reading some blogs, I found BindingList<T> so I converted my List to a BindindList. It works fine. What is the difference between the two since they both do the same thing. I looked at the methods and yes, there are differences but I guess I am looking for a senario that List<T> can't handle, therefore one must use BindingList<T>. Thanks Ralph Hello All. Ralph: The BindingList<T> implements the IBindingList interface, which gives you several helpful abilities, like notifications when list items are changed, the ability to rollback transactions to the list, and things like that ...Show All

  • Windows Forms FolderBrowserDialog to select machines on network.

    I'm trying to use the FolderBrowserDialog to select mchines on the network but have come across a problem. The FolderBrowserDialog can select folders on my local pc but when I move to the "My network Places" I am no longer able to select a machine name as a folder, I can only select a folder on a machine. How can I force the FolderBrowserDialog to allow selection of machines on the network Visit www.carlosag.net and use the online code convertor tool to convert the VB.net source code into C# source code. RV ...Show All

  • Visual C++ Terminating application incomplete

    The application was designed in MFC with the View class. A continuous loop looks for data from an analyzer, converts it to a record set and stores it in MS Access. To allow other applications to run, I have included this routine below to keep my application alive and at the same time restore the frame etc. while other files are opened and closed. if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) { TranslateMessage(&msg); if (msg.message == WM_QUIT) return; DispatchMessage(&msg); } I am also checking with a Keydown function inside the loop to exit, if the ESC key was pressed. That routine works fine. The application does everything correctly, EXCEPT if the application is looping and the top right 'X' button ...Show All

  • Visual C# Replacing '\r' in a string: .NET 1.1

    Hi All, I have an application that takes input and splits it on the '\n' character. Every carriage return however is a combination of '\r\n', therefore I am left with stray '\r' characters. I wish to remove these characters with the minimum of fuss in the .Net framework 1.1! I have already formulated a way to do this using stringbuilder.replace, however is there an easer (and more efficient) way as I will be applying this to millions of strings. Thanks Chris why dont you just replace \r with String.Empty Example... string myString = "hi\r\n my name is bob"; myString = myString.Replace("\r", String.Empty); string[] arraySplitString = myString.Split(new string[] {"\n"}, StringSpli ...Show All

  • SQL Server BIDS keeps crashing

    All of a sudden one of my projects/packages seems to have encountered a strange problem. First I tried to remove a data viewer which caused BIDS to crash and tell me that VS has encountered a problem and needs to close. This is repeatable every time I try to remove the data viewer or the link or the transforms or the entire data flow. How do I get around this besides starting from scratch and how do I figure out why this is happening and is there some fix thanks John Here is a way (until the fix is available) to clear up old data viewers that may cause crash: Close all the SSIS designer windows. Open Breakpoints window (Debug > Windows > Breakpoints) Delete data viewer "breakpoi ...Show All

  • SQL Server Cube deployment issue SSAS 2005

    Hello all, I got an issue with deploying my cube. I am new to SSAS 2005, and I cannot find the option to define which account to use with deploying. I managed to choose the server for deployment, but strangely enough, no user can be selected, so when it deploys, it throws an error stating the standard windows login isn't valid (wich is correct, but I do not want to use standard windows login). SSAS does not use SQL Server accounts for authentication. It only uses Windows accounts. This is why there is not where to specify a particular user as it always uses the current windows account. When you are setup using a domain this is not an issue as everything can be specified in terms of domain accounts. In ...Show All

©2008 Software Development Network