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

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

smp

Member List

airwalker2000
abi
Arjun B
schlrobe
Santa616
NetPochi
Jeff-B
OmarSoto
rwerner
SJROOKER
gwestwater
k-dub
Scott Chang
infomax
h1
madsurfman
Bigmo
Martinp23
RYoungx
bboylen
Only Title

smp's Q&A profile

  • Visual Basic Define Class?

    I dont know if thats the right thing to say or not being I'm still green, but If I had a calculation that I needed to do often, is there a way t o make that (Public(Dont know if thats right or not)) I am wanting not to have to type the calculation over and over just wanting to put it in one place and refer to it if possible. Then how would you call it Davids Learning Hi, you can do like this: Class Calculator Public Shared Function Add( ByVal val1 As Integer , ByVal val2 As Integer ) As Integer Return val1 + val2 End Function End Class And call it like this: Console.WriteLine(Calculator.Add(10, 5)) Hope this helps ...Show All

  • Visual Studio Team System Get all file version information for workspace?

    Is there a way that I can get a list of all the changeset/versions that the server thinks I currently have in my workspace command line: tf prop . /r API: vc.GetItems( "$/" , new WorkspaceVersionSpec (workspace), RecursionType .Full) ...Show All

  • Smart Device Development vs2005 compiler is fatally flawed: generates bad code

    In this very simple excerpted code, the compiler fails to do its job.  If you want it recreated, I propose someone there try to recreate it.  I've already got it happening here.  It's as simple as it gets.  From the type of failure, it looks like it's going to happen a lot. r12 is assigned the address of mc.decodePriority only if gDecodeMaxPriority >= 3, yet it, r12, is still used as the store address when it is not >= 3.  r12 is pointing to nowhereland in the code below, when, for example, gDecodeMaxPriority is 0.               if (mc.inWaveMode != 2) {  // not if in CopyFile mode 0009637C  add        ...Show All

  • Visual Studio 2008 (Pre-release) possible release timeframe guidence

    we have been testing Ling for SQL and are super impressed by the capabilities. e.g I was able to take an 8 Page Stored proc and reduce it to 20 lines of C#. This is a tool that can used to refactor most of an organization that is trapped in SQL Hell. However we can not make a move to spread Linq till we know more of pending target for release (even a RC build would satisfy us). Any guidence in this area would let us take a more aggressive approach to deploying Linq. I have around for a long time (too long) and technology is the most exciting stuff I have seen in years.In my opinion as an architect at this organization it is waste of time to explore other ORM like products but at this stage we have to choice. ...Show All

  • SQL Server Problem with dtutil hanging

    I am using a script to copy a number of packages (50+) from my desktop computer (file system) to a remote server (MSDB). The script works fine, but I can never get through the entire script without it hanging up. Some times only 3-4 packages get copied, sometimes a lot more. If I close the windows cmd window and restart at the point it hung, it continues, but usually hangs up again. If you repeat this 2 or 3 times, it eventually gets all of the packages copied. It does not always hang at the same point. I have tried doing the copies with "quiet" mode - overwriting the existing packages and I have tried first deleting the packages, then copying - doesn't make a difference. I have also tried moving the packages to a couple of diffe ...Show All

  • .NET Development Garbage Collection never collects garbage from generation 2 (finally resulting in OutOfMemory exception)

    Hi, I have been searching the net for many hours trying to solve my problem. Since many questions regarding the GC are answered here I hope you can help me. We have built an web application based on ASP.NET (v1.1), the enterprise library (ie caching and logging blocks) and a custom framework. The problem is that the w3wp.exe process keeps growing and growing untill it recycles around 600 MB. When monitoring the heaps I discovered that the heap basically only grows, expect for some small memory releases now and then. I used windbg to analyse a memory dump (created on the moment of recycling). It seems that many objects reside in the generation 2 heap while not having any references to other objects. There are for instance 2000 dataset objec ...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). Hm, if I try to add the server to 'servers' (BIDS -> Tools -> Add server), it doesn't seem to reckognise SQL Server 2005. Though it does reckognise SQL Server 2000, wich runs on the same server. ...Show All

  • Windows Forms Insert a Resourse to textbox?

    Hey, how do you insert a resourse(image in resourses) to a rich textbox I tryed doing this: thisrichtextbox.TextBox.SelectedText = Notebook_Pro.Properties. Resources .theimage; but I got an error about it not being able to convert bitmap to string...so I tryed the code I had gotten from a question I asked when I was progames25 about inserting a image form a file into the textbox...: string strImagePath = openFileDialog1.FileName; Image img = Image .FromFile(strImagePath); Clipboard .SetDataObject(img); DataFormats . Format df = DataFormats .GetFormat( DataFormats .Bitmap); //Check this line, im not sure if (thisrichtextbox.TextBox.CanPaste(df)) { thisrichtextbox.TextBox.Paste(df); } and ...Show All

  • SQL Server SQL Server Management Studio Express

    Dear All: SQL Server Management Studio Express allow me to create and manage SQL Server Everywhere .sdf databases If not, what tool can i use to do it Thanks. Alfredo Mendiola Loyola Lima Peru     Alfredo Mendiola Loyola, SQL Server Management Studio Express (SSMSE) does not allow you to manage SQL Server Everywhere databases. Adding this SQL Server Everywhere support to SSMSE is tentatively planned for the SP2 release of SQL Server 2005. Since I am referring to a future product release, i.e. SP2, please note that plans can change. Thanks, Sitaram Raju ...Show All

  • Visual Basic Array list

    Hi all, i have stored several class object in an arraylist. Example: arrList1.Add(aClass) May i know how to check/see or print the item in the arraylist this is because I need to know what data is in the arraylist. Erm.. previously I use "step into" to debug my program and from there, i viewed wat it is contained in the arraylist by looking at the local portion of the stack below. however, i will try to apply the codes provided by you now. Thanks.. ...Show All

  • Visual C++ anyone can help please?

    i have wrote the following function , maybe the function is too large that it occurs stackoverflow when i first run the program. So i have to breakdown the function into 6 small functions. But a __gc error occurs when i try to seperate the codes into small functions can anyone can help me please I really dunno how to solve that __gc error~ thanks private: System::Void searchBtn_Click(System::Object * sender, System::EventArgs * e) { Color pixelColor; int bitmapArray [640][480]; int windowSize; int checkedPixel; int greyRangeMax; int greyRangeMin; int markerCount; int centerX; int centerY; new bitmap rectangle System::Drawing::Bitmap * showBitMap = new System::Drawing::Bitmap(640, 480, System::Drawing::Imaging::Pi ...Show All

  • Visual Studio Express Editions Using an image as in emedded resouce

    ** Newbie Alert ** I'm trying out some example code from MSDN in an article called " How to: Retrieve an Image that Is an Embedded Resource (Visual C#) " (ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/dv_csexpresscon/html/f42dff1c-6804-4fda-94e5-1e77460a9142.htm) Step 4 says to replace the string with "the name of the resource, as it is known in the assembly." I don't know what that means. I've tried using the resource name I gave it, but I get a runtime error that seems to indicate he couldn't find the resource. Has anyone gotten their bit of code to work Thanks! Dan Thanks for the quick reply! The real problem was that I wasn't using the fully qualified namespace ...Show All

  • Visual C++ what after win32 api? and general programming advice!

    Hie , i'm nearly 16 , i started programming in flash and javascript when i was 13.I moved to VB when i was 14 and also recently made a full fledge application in VB6 .Then i moved to VC 6 some time ago.I know C but NOT C++.I made a few SIMPLE applications in VC using C and win32 API only.and i did'nt forget flash.. i'm still keeping myself updated there! now i got VCE 2005 , and some explained to me that i need to install the PSDK to have win32 api support. I'm still not well versed with VC so i'm reading charles petzolds book on windows programming.Now my question is .. where do i go next.Should i learn C++ and MFC , and when should i move to C++ immediately after i finish this book i have bruce eckel's : thinking in C++ , but does any1 ...Show All

  • SQL Server Alternative to binary_checksum?

    I am using binary_checksum to verify dataintegrity between two servers but the algorithm apparently is not strong enough and returns false positives. Are there any alternative algorithms that can be used instead of or combined with binary_checksum I am running on SQL Server 2000. Rgds Bertrand Thank you, you have a point there. I would still like to experiment with a new user defined function for calculating alternative checksums. I have different checksum algorithms available but I need to find out how to create a user defined function that behaves as the BINARY_CHECKSUM function. E.g. it should take * as an argument and compute on the entire record contents. Do you have any suggestions ...Show All

  • Visual Studio 2008 (Pre-release) Custom credentials

    Hi! I'm working on a small project and I'm using WCF for the first time but ran in to some problems. My server app runs as a service on a Win2003 server, currently the configuration and code for the server app looks like this: < system.serviceModel > < bindings > < netTcpBinding > < binding name = " NewBinding0 " > </ binding > </ netTcpBinding > </ bindings > < services > < service name = " IBOL.PowerClass " > < endpoint address = " net.tcp://localhost:5555/PowerClass " binding = " netTcpBinding " bindingConfiguration = " NewBinding0 " contract = " IFace.IPowerClass " > </ endpoint > </ service ...Show All

©2008 Software Development Network