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

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

monrealis

Member List

Michael Morris
Pete_M
j_johnso
blindi
Brian Driscoll
vbjunkie
susanasusana
Jakein2006
Bulldog.NET
steve13
Yuki Chen
GregJ334344
windows_mss
PawanSingh
Kamen
AksaiGora
arcLee
programmer01
Vish_All
MrMMills
Only Title

monrealis's Q&A profile

  • SQL Server Problem Launching Report Builder

    Hi, I am having a problem launching Report Builder on one of my users pcs. When he clicks on the icon the following error message appears: dfsv.exe has encountered a problem and needs to close When I log in as myself to his PC Report Builder launches with no problems. Any advice Cheers Hi, Re-creating the user's profile worked in this case, Thx ...Show All

  • Visual Basic Automatic Generation

    hi, i need automatic generation of numbers of the Format : 0001S. i tried with the following codings. it works with MSAccess as BackEnd and not with SQL. Hi 'it works with MSAccess as BackEnd and not with SQL' .... do I presume you mean you are now using SQL Server 200x If so, Val is an Access specific function name. Take a look at this document ... it details the difference and there is also an example on how to use pattern matching to accomplish the same thing http://sqlserver2000.databases.aspfaq.com/what-are-the-main-differences-between-access-and-sql-server.html Do take the opportunity to consider that pattern matching is a slow process for sql server and that you might be better off storing the numeric port ...Show All

  • .NET Development Deciding minimum value based on type

    Hi, Is there a way I can find what is the minimum value of a type using reflection e.g. If the type is int, it should be 0, if its string, it should be string.Empty. if its datetime, it should be minimum date time etc and if its object, it should be null. I have to achieve this using reflection and need to compare these values as well, e.g. if two values are equal or one of the value is minimum value for that type. Any standard way of doing this Or I would have to write code for it \ Please advice. Thanks, Hiten Hi, It is also possible to request the min and max values for structures (int, double, datetime, ...) int.MinValue int.MaxValue Greetz, Geert Geert Verhoeven C ...Show All

  • Visual Basic Using images as baground slows down my program alot!!

    Hi Im working on an aplication and is far from finished, but already now the program seems to be a bit slow. I've experimented with using a picture as a bagground (i really like these small fading bagrounds from light blue to white) but this seems to realy slow my program down when switching beetwen forms (not just in design fase, also in the compiled version) i only use gif images 256 colors so it isnt large images (about 12 kb). I use the tab control and when putting a background image on it, it really slows down!! I have a labtop 2800 Mhz with 756 Mb ram and xp sp2, so the hardware shouldnt be the problem. Is there a compiler problem in visual basic 2005 that the developers might be working on I use visual studio 2005 proffesio ...Show All

  • Visual C# doing some work in the background occasionally

    I have an application that needs to perform some background work, i.e. Logging, wich must not block the main thread. How would I basically design such a scenario It is obvious that I should do that on an extra thread but I think it is a bad idea to spawn a new thread everytime a log-message is written and let it die once the message was written. But how do I keep a thread alive and trigger the log-messages and pass the string to that thread Also, should I give that thread a lower priority Maybe there is a best practise for this kind scenario bitbonk wrote: Does this apply for console applications, since my application is not a Windows Forms application Also what do you mean by "effecting min thread's execution" ...Show All

  • Visual Studio Express Editions Thanks

    Hello world, i've a problem with my application. I must store some information on a specific file in specific folder, i.e.: filename, format, extension. Intially i've the path of the folder that contains the files. How i can search file in a folder How i access file information and store they in a datatable Thanks. Ok, thanks, i've solved my problem. Now, i want create a table with inside image and their attributes (title, format). Those images are load from folder, and so, they are shown in table. How i can do it Thanks ...Show All

  • Windows Forms MAJOR Bug? In Webbrowser Control

    There is a major bug in the webbrowser control, OR I am doing something wrong. I'm hoping its the second. Whenever you navigate directly to a flash application (ex. www.microsoft.com/flash.swf) in the webbrowser control, buttons in the flash application do not work unless the application is unfocused. 1) Is this supposed to happen What properties could be screwing this up 2) Are there any fixes for it if it is indeed a bug I think it may be a bug, according to this previous post... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=152285&SiteID=1 ...Show All

  • Visual C++ tempereture control program in c language

    can any body please specify how to write a program for tempereture control in c language hello Re: tempereture control program in c language I am wondering what is temperature control program, why would you need it which scenario will it been used regards, rico ...Show All

  • Silverlight (formerly WPF/E) Opening the sample's XAML in Expression Blend

    I tried opening the XAML file from some of the samples in Expression Design. But it's not able to load it properly into the designer view. First, it complains about namespace, which I worked around. Then it had trouble with the " event handlers. Will this be a supported scenario Am I using the wrong version of Expression (I'm confused by all the different flavors) Thanks, Julien Hello, Well.. as the definition goes, WPF/E is a subset of WPF. Expression Blend (I think you meant Blend, as long as you mentioned event handlers). Well.. Blend uses the ful WPF (so this is an issue, because WPF/E is quite restrictive. It's the first CTP) but another thing is the format of the event handlers. WPF/E uses ...Show All

  • Software Development for Windows Vista Test Case 20 - uuidtemporarydata registry error

    Our application is using SQL OleDB to access a SQL Server 2005 database. Everything works fine with virtualization on. With virtualization turned off the connection fails. Application Verifier v3.2 LuaPriv test and Application Compatibility v5.0 Standard User Anaylizer both report a registry problem. There is not a direct request in our application to create this key. Any suggestions of how to get around this error < avrf:logEntry Time =" 2007-02-15 : 16:00:28 " LayerName =" LuaPriv " StopCode =" 0x331B " Severity =" Error "> < avrf:message > Access was restricted to trusted users only. </ avrf:message > < avrf:formatmessage > ...Show All

  • Audio and Video Development smallest time for the property "animateProperty"

    Hi !!!!!! Does anybody know if one second its smallest time for the property "animateProperty" . Ex: document.barra_idiomas.style.animateProperty("opacity", "0;1", 1); Smaller gives error ( 0.5),(500ms),(5f). Sonic Advanced content gives error . Thanks According to the spec, animateProperty takes a Number type, which can represent fractional values. Sonic may just have a bug. Note that you shouldn't do very small time values; anything smaller than (say) half a second is discouraged because on a low-end player under high stress you may end up dropping frames. As much as possible you should make sure all your critical animations (eg, state changes) begin ...Show All

  • Gadgets Newbie Sidebar Help Please

    I have been working on a sidebar and I'm really just learning. I have a few problems and was wondering if someone could help. 1. I figured out how to get an options page which shows system environment variables (in my test example). What I want to do is enter a server name and have that name shown in the gadget. So, if I add a server name, show the name.. 2. I need the server name to be specified in the options tab and connect to a SQL DB. This is proving much harder than I thought. My goal of the gadget is to specify a SQL server name in the options tab, query the server for a status, then chnge the color of the gadget to either red, yellow or green based on status. I have the base, but just need a few pointers. If anyoe can h ...Show All

  • Visual C++ Win32 app to set desktop wallpaper

    I must be doing something stupid here. I would like to set the desktop background to an html file. It works fine through the Windows UI (Display Properties), but the following code won't compile: #include "stdafx.h" #include <wininet.h> #include <shlobj.h> int APIENTRY WinMain ( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow ) { HRESULT rc; rc = SetWallpaper("foo.htm", 0); return 0; } The compilation error is that "SetWallpaper" is undefined. Yet MSDN says it is defined in shlobj.h. What am I missing here Thanks! AFAIK there's no API called SetWallpaper. It is defined as part of IActiveDesktopObject. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Spacewar - controls not working

    Hi, I've installed Game Studio Express Beta and C# express, and now I'm trying to run the Spacewar sample. It compiles and runs ok, the main menu is displayed, I press all keys, but the game doesn't start. Nothing hapens. I'm running the game on Windows XP Sp2. Do I have to change any setting I did this fix and it still does not work. My gfx card does support DirectX 9 and shader 2.0 and is updated, so I don't see why this isn't working. It just loads up and then freezes. I can only move the window around. Any help would be appreciated, because I would really like to see how the menus and game is laid out before I try doing anything myself. ...Show All

  • SQL Server Global variable: MaxPledgeID used in Parameter mapping of a property in a DTS

    I need to understand why someone would use a global variable in a parameter mapping inside of a DTS package. The reason I ask is that I have (finally) successfully recreated a production environment involving ASP pages that push user data into a table on a SQL server across a firewall. Everything works great up to getting into the T_Pledge_Web table on my test server. However now I need to add to the DTS, an execute SQL task that in essence deletes the user data from the table on the other side of the firewall. It's basically a house keeping step. Here is the current code for this step: Delete FROM T_Pledge_Web Where ID <= The live production DTS has this house keeping step at the end of the DTS and uses this same code but with a dif ...Show All

©2008 Software Development Network