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

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

bluemoon2181

Member List

Trevor E Hilder
rmccullough
kgkidd
Sanjukta
Dany V
LasseJ
shiraz.inam
Burd
Fahad Habib
etones
RueSam
GSReddy
DongL
ttme
cmelich
ELDHOSE_BABY_a06ce9
Oz22
jsedlak
Pellaeon
Maeestro
Only Title

bluemoon2181's Q&A profile

  • SQL Server server can t find SP sp_MSforeachDB

    Hi if I do exec sp_MSforeachDB '......etc' and i get SP sp_MSforeachDB not found how do i reference it in order for the server to find it. Because when we check in master we find the SP there but when we run the exec sp_MSforeachDB ... we get SP not found any help pls exec sp_msforeachdb ' select '' '', o.name, object_definition(o.object_id) from [ ].sys.objects as o where object_definition(o.object_id) like ''%mykeyword%'' and o.type=''P''' The script works in 2 instances but not in other 3 instances Thanks for your help ...Show All

  • Windows Forms Progress Bar

    Hello, I want to add a progress bar to my application. I want the progress bar to run when the program is busy - so I created a timer that adds a value to the progress bar every second. My problem is that when I start the timer the timer code is not called because the thread is busy doing other things.. what can I do Thanks. Oh, that will be some work. You will have to use the ProgressChanged event to execute the control creation. You could pass a class instance as userState in the ReportProgress method. Base that class on an abstract base with a method AddControl(Form f). Create derived classes as you need, which add the controls you want. Like so public abstract class ControlCreator { public abstract void CreateControl(Fo ...Show All

  • .NET Development How to get headers only from column names but not value from sql statement?

    Hi all, I was looking to construct an sql statement so that I can have only the columen names as a header but with no data. I have tried like this and it is working. But I don't want to give value like "-1". sqlStr = "SELECT FullGrantNumber, FY FROM Grants WHERE SerialNumber= -1; This statement is giving me the two column names without any value but I don't want to use -1. The data type is int. Is there any other way to achive the same Thank you in advance. Another one is.... SELECT * FROM MyTable WHERE 1 = 0 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Orthographic UI

    So...in OpenGL I would use glOrtho(0,1,1,0,0,1) before processing my UI draw calls to set up my screen to be: 0,0 . . 0,1 . . 1,0 . . 1,1 that way, I could tell a UI component to be at 0.1, and it would make it so at any aspect ratio, any resolution, that UI component would always draw 10% to the left of the side of the screen. I want to do something similar to the UI system I'm working on for XNA, but I'm not sure how to setup the XNA camera to switch to an Orthographic projection before I process my UI components using the sprite batch. Anybody know Aye, I noticed that the spritebatch allows you to pass in the rectangle, which has to be integer values for everything. However, one of the overloads for ...Show All

  • Windows Search Technologies Setup error

    attempted to install, setup error as follows Not enough storage is available to process this command. I got over 300 gigs free, how much space does it need I'm running vista ult rc2 Yes, I believe thats where I downloaded it from I have 4 disks total, physical, none have seperate partitions on them. ...Show All

  • .NET Development UTF-7

    Hi everyone, Can someone explain how .NET encodes UTF-7 I just wanna write program that encodes UTF-7 (don't need UTF7.GetBytes, I want my own function) and it must be .NET compatible (I need decode byte-buffer generated in my program with UTF7.GetString). Thanks It is encoded according to the UTF-7 standard. Check out the RFC for all the fun details. http://www.rfc-archive.org/getrfc.php rfc=1642 ...Show All

  • Visual Studio Express Editions MFC DLL

    When given a problem that involves quantum interactions, behavior among particles such as atoms etc.: (using: MS VC++) Would you create an, MFC Dll Project Would you take another path Thanks very much for any and all (no matter how minor) info. in regards to above question(s). B. John For those that are concerned, this question has also been asked in MFC Dll Project in the VC Language forum. ...Show All

  • Windows Forms Move a control

    I need to move a label but it seems to be locked in place in the design view (VB). How can I move it to another position on the palette If it is in the design view, you might have locked the position accedently or docked it. Check the Docking, if not docked, right click it and see if the "Lock Controls" menu item is chosen. If it is, uncheck it. Hope it is that simple! ...Show All

  • SQL Server .NET Custom UDF - "Internal error: An unexpected exception occured."

    Hi! I have developed some .NET UDF for MSAS2005. I compiled it, added assembly to database and tested it - it works. But works only on my test seerver. On life server I've got this message: "Internal error: An unexpected exception occured." Assembly is registered as unrestricted. I've maid simple test function in own assembly file, which just gives back 1. It also works on test- and does not work on life server. Customer will kill me :-( .... P.S. Last post-SP1-fix (form July) is installed. Yes, in SSAS there is only one result - either MDDataSet or Rowset. The only way to have second channel is to write into Trace which can be monitored with Profiler. There is no equivalent to SQL Server Pipe.Send() me ...Show All

  • Visual Basic Slogan

    So my friend Jaji and I are truly commited to your product and all, being hard-working undergraduate engineering students. One thing that we love about the product is how easy and basic it is to program, with generally outstanding results. And the colours are nice too. However, there is one big problem. We both think that VB would be much more marketable if the slogan were changed from "Anywhere, Anytime Programming" to the following: "I basically prefer to visual. Visual Basic, the new generation". We all think that this better reflects the new image you want to give the product, and watch the sales boost. That's right, Jaji's the man. Pates Right on. I honestly think that this slog ...Show All

  • Visual C++ Retrive the frame window pointer of a splitter

    Hi, I have a frame window MyFrame in which i have a splitter which shows 2 windows from 2 different classes  CView1 and CView2 which are loaded at runtime. how can i get the pointer of the MyFrame class from CView1(the active pointer). Cview1 is derived from CFormView...   The MyFrame is again there in a MainFrame which is a workbook kind of window... Please help me thru this Thanks & Regards,  This forum should be used for questions specific to the C++ language and compilation issues. For MFC questions such as this, please use the following newsgroup: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vc.mfc&lang=en&cr=US OTP ...Show All

  • Software Development for Windows Vista Building XPS printer driver on windows XP

    Hi      I want to use XPS printer driver on Windows XP.  while installing this XPS printer driver on windows XP it's asking for some DLL files (ex. xdwmark.dll, xdcolman.dll). in WDk folder there is no such DLL that means i have to build this DLL from WDK building environment.   when i am trying to build these dll from WDK's Windows XP build environment i am gettting following warning :   [source path ] is not valid for the current  OS target . can you help me how can i build these DLL for XP   I am able to build these DLL from Windows Vista environment. but while printing from this d ...Show All

  • Visual Studio Set User!Language in report properties under misc

    Hi friends, I'm using ReportViewer control (winforms) in LocalReport mode, but I can not get numbers formatted for the current culture (only for en-US). I have attemped settings with Language on designer and Application.CurrentCulture (on form), but nothing works. For example the decimal 1,000.85 (en-US) should be 1.000,85 in pt-BR. Also, I'm using ExecuteReportInCurrentAppDomain. Note: All other controls on my App works fine about localization formats, but ReportViewer not. Please, what I'm missing Thanks in Advance The culture used to format data is specified in one of two places in the report: 1. It can be set on the textbox itself. 2. It can be set on the report body element. In both of these cases, ...Show All

  • Gadgets Which browser will render a gagdet

    Hi I was wondering which browser is rendering the gadget. Is it always IE , is it the Browser which is set as default Thanks for advice :) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. SetData and GetData for Texture2D

    I'm new to Textures and game programming in general. From what i've gathered Texture2D:SetData is used to assign pixel information to a texture (could be wrong <shrug>). Most of my knowledge about textures is from:   http://msdn.microsoft.com/directx/xna/migration/#_Graphics_Resources where it shows creation of a Texture2D. // Create a 256x256 image in memory. uint[] imageData = new uint[256 * 256]; // At this point, fill the array with data.... // Fill the texture with the image data. Texture2D tex = new Texture2D( device, 256, 256, 1, ResourceUsage.None,    SurfaceFormat.Color, ResourcePool.Managed ); tex.SetData<uint>( imageData );   I think i understand whats happening but my questi ...Show All

©2008 Software Development Network