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

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

dantheriver

Member List

Pure Krome
BenCh1
RobertoPC
mike11d11
Tryst
NoEgo
JimmyDin10SC
T-W
hasfad
PravinD
huysmans
Marshes
Danny Abraham
Michael Maes
simmons
CPPUSer7
airwalker2000
theblackhat
tgbt
Malleswar
Only Title

dantheriver's Q&A profile

  • Windows Live Developer Forums Packet rate

    Just a small question about the packet rate, does the 120 packets a minute apply to incoming and outgoing, or is it applied to outgoing packages only. Would make a big difference because if it applies to the total ammount of packages it means you can only send and receive a packet per second if you are using real-time package data. -joost As far as I know there isn't a real limit on the size. At least it's not meantioned anywhere (as you probably already noticed) and I have never experienced it. The 120 / minute limit is easy to test, because with a provisioned app, Messenger will just cut off your connection after packet 120 untill the minute is over... So, I'd say give it a try, and see how it be ...Show All

  • .NET Development Way around Application scope connections?

    Is there a clean way to get around designer limitation where connection settings can only be defined for the application scope Don't worry why I need to do this, suffice it to say it is required to allow the user to change database connections and have the last connection used be saved. Also, is there a MS recommended way of having all Dataset instances retrieve their connection from a single source Thanks The only way I could find to do this is to reset the connection string after the dataset and dataAdapter is created. It's not pretty, but there's no other way I could find around it without breaking the designer. ...Show All

  • Visual C++ How do I spawn a new process that inherits the shell environment ?

    Hi, I was wondering whether it is possible for a process to spawn a NEW process , but one that would not inherit the environment of the creating process but rather inherit the environment from the shell. For example , I tried to create a server/client application where the server creates a new client upon request (using ShellExecute ). The client checks the value of a certain environment variable. I'm changing the value of this environment variable between requests but the clients keeps showing the old value, the one that was valid when the server started. Is it possible to achieve what I have described Thanks. I think instead of ShellExecute you should consider other functions which ...Show All

  • Visual Studio Team System MsTest / VSTestHost Memory problem

    Hi, Sorry if this is isn't the right place to post this. I am running Visual Studio 2005 Team Suite Version 8.0.50727.42 (RTM.050727-4200) I use the MSTest a lot and find the VSTestHost is eating up a lot of memory, which isn't freed up even after the tests have finished running. I have over 1000 tests and after several test runs the tests will start aborting complaining of insufficient memory, I am required to restart the machine in order to free up the memory fully. The memory usage will ofter go beyond 1.5gig. I have tried this on two different machines and both exibit the same problem. The tests we run interact with MSSQL, creating, retrieving, updating and deleting from the database. It may be the case that it is an issue with the t ...Show All

  • .NET Development ADO.NET Problems

    A small problem, this code fragment doesnt work /// <summary> /// Changes a user's details /// </summary> /// <param name="username">The user to change</param> /// <param name="newUsername">The new username for the user</param> /// <param name="newPassword">The new password for the user</param> public void ChangeUser(string username, string newUsername, string newPassword) { //Create a new command component OleDbCommand SQL = new OleDbCommand(); SQL.Connection = conn; SQL.CommandText = @"UPDATE Clients SET Username = @newUser, Password = @newPassword WHERE Username = @currentUser"; OleDbParameter newUserP = new OleDbParameter(); newUserP.Value = ...Show All

  • Visual C# Drawing a semi-transparent image using GDI+

    Hi, I am trying to find out how to change the transparency when drawing a image to the screen using GDI+. The effect I am trying to produce is a image fading in and out. bratheo, this is what I have figured out recently (not sure if it is exactly what you want) to draw something, say a semitransparent rectangle (g is your graphics object) g.FillRectangle( new SolidBrush( A, Color.Blue), ......); A neesd to be a value between 0 and 255. 255 means totally opaque and I think 0 is totally transparent. Anywhere in between will give you different transparency levels. Hope this helps Fradam ...Show All

  • SQL Server Connect to desktop database 2

    Please Help me! I hav emulator Windows CE 4.0 with Visual Studio 2003, C#. I want connect to sql server 2000......after read all posts of this subject and try all varieties modes of connecting string.....in sql profile i see that application in emulator try to connect the sql server but i have the same exception : PlatformNotSupportedException Here my code: strcon = "Server = developer\\devsql;Initial Catalog = master;User ID = domain\\login; password = ******;Integrated Security = false"; What i did wrong or may be miss something ...Show All

  • Visual Basic Run time Error

    Private Sub cmd_DeleteTables_Click() MsgBox "Click yes when prompted to delete records" Dim sqldel As String sqldel = "DELETE tbl_physical_main.*, tbl_physical_main.[Material Number] FROM tbl_physical_main WHERE (((tbl_physical_main.[Material Number]) Is Not Null))" DoCmd.RunSQL sqldel, no sqldel = "DELETE tbl_noDataForTag.* FROM tbl_noDataForTag" DoCmd.RunSQL sqldel, no sqldel = "DELETE tbl_SAPmaterials.* FROM tbl_SAPmaterials" DoCmd.RunSQL sqldel, no MsgBox "All previous inventory data has been deleted and the next inventory load may continue." End Sub DoCmd.RunSQL sqldel, no after delete the record I have run time error, Please advice. Gee1 ...Show All

  • SQL Server Adding multiple fields together

    Okay hopefully this is quick and easy. I have 3 fields (Annual Salary, Medical, Pension) and I now need to working out Cost To Company which is just adding those three together. I tried to do that in a formula but it doesn't return me anything... This is what I had. =(Sum(Fields!AnnualSalary.Value, "CoreEmployeeData")+Sum(Fields!AnnualMedicalAid.Value, "CoreEmployeeData")+Sum(Fields!AnnualPension.Value, "CoreEmployeeData")) So it should add the 3 records While you are here :), Can you tell me how I can put a currency symbol in the front of these numbers and add the thousand comma delimiter the easiest way to get aorund this issue is split out your sum to individual columns, ...Show All

  • Visual Basic How to load a dll into a vb program

    Hi, I need help, i'm a n00b and i don't know how to load a dll into my program. Using the Add Reference button i'll recive this error: A refence to ... could not be added this is not a valid assembly or COM component. Bla bla bla Someone tell me to install it into the gac directory using gacutils, so i did it but i had recive this error: Failure adding assembly to the cache: Tentativo di caricare un programma con un formato non corretto. (trying to load a program with an unknow format). What's the problem Help me pls ;) I hope this is the right section. Sorry for my bad english It sounds to me like there is a problem with the dll. It is probably either corruprted, or is not a .NET assembly or COM dll. ...Show All

  • Windows Forms BindingList.Add behaviour (Extremley slow!)

    I am trying to improve a bindable class that supports filtering. I use a class I found on a blog somewhere. After some fidling I get it to work, and I have replaced the Filter functionality with my own RegEx filter that works nicely. My problem, however, is that the BindingList.Add method is so extremly slow! The functionality is like this: I have a textbox where the user inputs his filter. On the Change event I update the BindingSource.Filter property, and run my own filtering code. When the user removes his filter, the original values should be shown again. This is when the problem arises. I have to clear the bound collection, and copy the values from the original collection back. This should be extremely fast, since it is an in-memory l ...Show All

  • Visual Studio 2008 (Pre-release) ListBox shows (Collection)

    Hey all, I have a listbox that I am trying to display my data in but I am only seeing (collection). What does this mean Thanks, Dvl Lets say you have a collection of customer objects with firstname, lastname as properties you would do <ListBox ... ItemTemplate={StaticResource dt}> </ListBox> In the resources you would define <DataTemplate x:Key="dt"> <TextBlock Text="{Binding Path=fristname}"/> </DataTemplate> ...Show All

  • Visual FoxPro Foxhelp index and search pane is empty and not working

    Hello, I have VFP6 and VFP8 in my notebook under Windows XP SP2. There was an error opening any html help: "Cannot Open the File: Mk:@MSITStore:<any>.chm" I found in one of the forum the next commands to do in the CMD window: regsvr32 %systemroot%\system32\hhctrl.ocx <press enter> regsvr32 %systemroot%\system32\itss.dll <press enter> After them the foxhelp and any other html help is working, but the index pane and search pane is not working or empty in foxhelp, but in Windows and in any other (Office) help working and not empty. I cannot found how to resolve this problem to foxhelp. Can anybody help me Thx. for Your advices. Sandor See if this foxwiki arti ...Show All

  • SQL Server Architectural Design Question ?

    We currently have a number of SSAS 2000 physical cubes and a single KPI virtual cube that our finance department reports from. A colleague is prototyping a new approach in SSAS 2005 and I’m looking for some feedback. Please see http://www.dailyware.com/SSAS2005Design.jpg for a high level overview. The lines in red illustrate custom .Net applications that push aggregated data from cubes to some other reporting source (SQL tables, XML ) that our finance department will report from. Thought that come to my mind include: many points of failure, significant custom development required, none-mainstream, high maintenance cost…. Thanks, Gary Hi Gary, Edward already provided ...Show All

  • .NET Development SoapException when using Custom Attributes on Client Side Proxy

    I donot want the soapextension class to intercept all the webservice calls. Hence, I decided to go with custom attributes and not application config settings. I have applied the custom attribute on the client side proxy. The proxy compiles after I add the attribute. I am using WebServicesProtocol. A call to get the proxy fails with the following exception: Exception: System.InvalidCastException Message: Specified cast is not valid. Source: System.Web.Services at System.Web.Services.Protocols.SoapReflectedExtension.GetInitializer(LogicalMethodInfo methodInfo) at System.Web.Services.Protocols.SoapReflectedExtension.GetInitializers(LogicalMethodInfo methodInfo, SoapReflectedExtension[] extensions) at System.Web ...Show All

©2008 Software Development Network