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

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

NewbieDude

Member List

Viesta
Jon Watte
SDerix
UltimateSniper
Itzik Katzav
raq
Rhubarb
Ross Watson
Ben Vanik
dfl
NozFx
jminond
jaymoss
eslam nader
maglup
TrDmitry
aditi shah
MHS
Alexnaldo Santos
Andrea96
Only Title

NewbieDude's Q&A profile

  • Silverlight (formerly WPF/E) Can I get XML(XAMLcode) from WPF/E Objects?

    For example, Draw application (by WPF/E) . How can I upload draw data to server The geometry data which a user makes are complicated. That may be true, but your code has to handle creating the geometry data anyway, right What functions would your CAD program expose I do agree that if you download a large XAML file and allow the user to modify part of the data, which would equate to you changing values of element data in javascript (instead of creating new elements) then it would require a lot more code to also update a "string" representation. Is not WPF/E suitable for such a use From a rendering perspective I think WPF/E is very suitable. But from an editing and persisting ...Show All

  • Visual C# How to find file of certain string exists

    Hi all, I would like to find a file that have a string "test" in between the filename. Can we use wildcard *test*.* in c# If not , may I know how to do it Thanks Hi, I had a file "123test123.txt" and I tried this. But it doesn't work. Please help. Thanks string [] file = Directory .GetFiles(pathDataOut); for ( int i=0; i<file.Length; i++) if (file.ToString().Contains( "test" )) { Label4.Text = "found" ; } ...Show All

  • .NET Development Tcp Socket | pending the data or not to be

    me have new question about Tcp Socket Async operation. let say the server are sending a data (512 bytes) to client, during the data still sending (no matter due to internet delay or resend cause by wrong package) server send again another 512 bytes data. those 2 data will always arrive in order or not another question is: me don't know exactly how the async work, will it crash or error if sending too much data at once while the previous data still in process(me have no idea how to test it, test on my local machine always seem ok -.-') should me implement a pending for the Socket Async send method(something like below, this is what me doing right now) function sendMessage(){ if(sending){ pendMessage() }else{ sending = true S ...Show All

  • Visual C# accessing custom entity objects throughtout the project

    Hi, When we define a ProductEntity class for example. If I want to use the class object myProduct in a form1 and form2 and access the properties from different forms. Let s say, first I load an mdi form  mymdiForm, then I click a button that loads form1 and in form1 i click a button that loads form2 and so on.. My concern: 1- where do I instatiate myProduct object. In the mdi, or in form1 or in form2 knowing that myProduct  properties are assigned from controls located in the form form2. Also I want to make sure that I can access those properties in the mdi and form1 forms and all the project Do I declare myProduct  as public or friend or what Also how can I access the object myProduct  and ...Show All

  • SQL Server DTS Code works only with VS 2003 but not with VS 2005 ?

    Hi; I wanted to use the following code to run a DTS package from a 2005 Web Page code behind partial class. This code works fine in a VB 2003 module going against  SQl Srvr 2000. Here is the code: (It initiates from a button click handler) Dim conn As New SqlConnection( "initial catalog=MY_Data;server= XYZ081552X7X441\TRSQL;integrated security=SSPI" ) Dim hold1 As Integer Dim hold_source As String = "" Dim hold_desc As String = "" Try conn.Open() Catch ex1 As Exception MsgBox( "The Test connection failed to open" & vbCrLf & ex1.Message) End Try MsgBox( "About to create a DTS object" ) Dim oPackage As New DTS.Package2Class (Compiler doesn't l ...Show All

  • Software Development for Windows Vista Fixed, but have XP64 problem.

    Ok, I fixed my problem, it actually turned out to be having a second screen attached to my ati x850xt caused the lock up, I unplugged and installed for the 4th time, and it worked fine, plugged screen back in, and vista is up and running. Very weird. I have hit another problem though. I had created a new non admin account in XP64 since you suggested that might be a probme area due ti vista's admin account beng disabled by default, but now I cannot get back to the administrator account in XP64 How do I log back in and use that account When I log out, I only get the new account I created. Cheers! ...Show All

  • Visual C# how can I get the number whithin the brackets?

    I have the following text and I want to get the number within the brackets.. HSBC BANK MIDDLE EAST [547628] how can I do that string full = "HSBC BANK MIDDLE EAST [547628]" ; string number = full.Substring(full.IndexOf( "[" ) + 1); number = number.Substring(0, number.Length - 1); ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA has it's own GamePad DeadZone?

    I've been looking at the output of the thumbsticks, and it appears a value less than 24% (0.24) is ever returned. I know it's very important to implement deadzone in your programs, but why has it been done for us Someone may want to write a game that needs a smaller deadzone, but as far as I can tell it would be impossible given we don't have full access to the output right the way from 0 to 1. Is this behaviour intentional Many thanks, Adam Miles LeeC22 wrote: The actual bug lies in the fact that the horizontal deadzone is being reported when the vertical position is outside the vertical deadzone and visa versa. I don't think having dead-zones per axis is a good idea, because of the circular ...Show All

  • Visual C++ How to make a compiler link with __CxxFrameHandler instead of __CxxFrameHandler3

    How to make a compiler link with __CxxFrameHandler instead of __CxxFrameHandler3. Is there is any option available. We are developing printer drivers for Vista Operating system, for the XPS print path, using PT/PC support. Problem: Though we could install the binaries on the Vista OS, we were not able to install the Vista binary set on a XP operating system. We have installed the .Net3.0 on XP Operating system. Issue: On investigation, we found that one of our DLL was referring to some functions like : * strcat_s, * _itow_s, * __CxxFrameHandler3, * _except_handler4_common The issue is that the above functions "are not" exported by MSVCRT.DLL available on XP SP2 OS. Build Setup: We are currently building the dll ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Measure String using BitmapFont

    I used the BitmapFont i got from Gary Kacmarcik's blog and it's very useful to write font on my application. but the thing is i need to do a word wrap and i need to use the MeasureString method, which i still haven't got a clue on how to use it. public int MeasureString(string format, params object[] args) anybody know what is the format used for the MeasureString It's basically the same as Console.Write: int width = font.MeasureString("This {0} is a {1} {2}",arg1,arg2,arg3); ...Show All

  • SQL Server Can i Send query string to reporting services 2000 ?

    I would like to build the query on my code behind and send it as is not to send params and use a build query on the R.S Can i do it how can i do it Hi, you would probably use a procedure then to redirect the flow to a specifc query. HTH, jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual C++ "%" is managed version of "&" in C++.

    What does the ^ refer to in String^, Image^, etc. Is it a pointer operator Please don't say XOR, unless if it is XOR, in which case please explain it's operation in the above contexts. Thanks. I _cannot_ tell you how frustrating it's been trying to find that information in MSDN or Google. In fact, I can't!!! Thanks. ...Show All

  • Visual Studio 2008 (Pre-release) ConfigurationErrorException in the BehaviorExtensionElement class

    I am having a problem with migrating a service behavior extension from FebCTP to the JuneCTP version. The following is a configuration part of my service behavior extension. <behaviors> <serviceBehaviors> <behavior name="myBehavior" > <storage name="LocalStorage" /> </behavior> </serviceBehaviors> </behaviors> <extensions> <behaviorExtensions> <add name="storage" type="StorageBehaviorElement, Storage"/> </behaviorExtensions> </extensions> After changes in my StorageBehaviorElement class such as using a BehaviorExtensionElement base clase, I am having the following error: ...Show All

  • Visual C# ErrorProvider makes default language loosing properties...

    Ok, I have a very weird problem. I have a windows forms with some basic controls in it, textboxes, buttons, labels. with only one tab (very basic). My problem is when I'm switching language, i'm loosing control properties in my default language. Here's the behavious when the errorProvider is in my form. 1- I drop a combobox in my form (in the default language), change the dropdownstyle value to dropdownlist. 2- In the initializecomponent, I can see myComboBox.dropdownstyle = dropdownlist; If i switch to another language (IE: Spanish), I can see the myComboBox.dropdownstyle = dropdownlist again in the initilizecomponent. The problem is when i'm switching back to default language, it is adding the dropdownstyle in the sp ...Show All

  • Visual FoxPro FoxPro Downgrade Help

    I recently formatted my pc at work and and to reinstall all of my applications. I tried installing Visual FoxPro 9.0, however it was not working correctly. It kept giving me the error "Cannot locate the Microsoft Visual FoxPro support library." So I uninstalled this, and tried installing Visual FoxPro 8.0. The program now runs fine on it's own, however, whenever I try to run a FoxPro-based application (i.e. Mail Order Manager), I still get the same error. I don't know if the application is still trying to use remnants of FoxPro 9.0, or what. Does anybody know what I can do to fix this Thanks in advance, Steve >Is there a way to just change the default FoxPro support library that is used, w ...Show All

©2008 Software Development Network