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

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

Simone1

Member List

jkushiner
Yong Hwee
hglenni
Keren S
Dilip M
Steve98796
hye_heena
Markus Fritz
ce_developer
Gareth_D
dave45
Socrates Kapetaneas
RickGaribay.NET
David Mc Dermid
jhknys
Fakty
venki59
CirdanCelebrindal
CA987654321
Itchycoo
Only Title

Simone1's Q&A profile

  • Visual FoxPro VFP can't display correctly with thisform.line method

    Dear all:       This problem only happened in XP enviroment.        I use thisform.line method in the "form.init" event. when I do this form , moving the mouse focus cross through the from, then all object (button, grid, text box..) will disappear.      The same form is ok in the Win2k enviroment. I only write the code as follows in the form.init event: thisform.line(10,100). Create a buttion without any code on this form. Then it will be happened.      Does anyone know this kind of sitution       Please kindly to help me.       Thank you very much! &n ...Show All

  • Smart Device Development Play video in embedded player...(@sriram)

    Hi, I want to make a form with an embedded light player for mpeg video files. I try to see the OpenNetCF library but this supports only sound files. Does someone know fast way to implement simple player in C# for windows mobile 5.0 Thanks a lot ... Could you specify the links where relevant discussion abt the topic is already been done It would be greatly helpful for me.Thanks. ...Show All

  • Smart Device Development Adding relationships for SQL Mobile DB in VS2k5?

    Hi, for those .sdf SQL mobile databases, how do i add relationships in VS2k5 i was able to do that for .mdf databases though. My SQL server 2005 management studio express can't even view .sdf databases... Thanks! Unfortunately there is no easy way from VS. You've to use SQL Server management studio that comes with full version and you must have SQL Mobile installed. Alternatively you can run the SQL DDL commands to create the relationships. Manav ...Show All

  • Visual C# What is the maximum literal address for a local file?

    I thort it was 255 but when tried I found it only == 248 CHAR full LITERAL filename & path string length!!! How do I determine what the user can enter before submitting it to the OS as the intended filename The limitation depends on the OS, the character set used and the format of the file name. The defined maximum is normally considered to be approximately 260 (MAX_PATH in Win32) but it could be less. The Unicode version using a full object name is supposedly 32K total with each part limited to approximately 255 but you won't be able to use that format in .NET. Irrelevant you shouldn't hard code the value as it could change over time. There is no property or method in .NET to determine the maximal value because it varie ...Show All

  • Internet Explorer Development Manipulate PrintDialog

    Hi All, I want to make changes to the printdialog from IE. I use a cbt hook to get a handle of the dialog (in HCBT_ACTIVATE) , but if I enumerate the dialog, the dialog is not completely setup, the general tab is not enumerated. I want to change the selected printer so I need the dialog to be initialized completely. Does anyone know how to get hold of the General tab of the printdialog, so that I can continue for the handle to the FormView, SysListView32 I use C# to accomplish this. I hope anyone can help Ria. ...Show All

  • Smart Device Development TCP/IP transport via ActiveSync?

    I currently have my WM5 device hooked up to desktop PC via ActiveSync 4.1. The device is set up so that I can surf the internet using PIE. I have an HTTP server (implemented with HTTP listerner) running on the desktop PC, waiting for requests from a client app running on the device (using HttpWebRequest). Without WiFi switched on, the client app on the device cannot access the HTTP server. Pinging desktop PC also does not work However, when I switch the Wifi on, the client app on the device can access the HTTP server (via WiFi). Pinging desktop PC also works. Is it possible to access the desktop PC via ActiveSync instead of WiFi Thanks I have found by experiment that nothing is for free ...Show All

  • Windows Forms Can Deployment Project Automatically increment build #?

    Is there a way to increment the setup version (Product Code is recommended also) automatically with each deplyment project build I've found that this is the only way RemovePreviousVersion will work. Of course, there's probably a way to edit the .vdproj file using a script during the nightly build. I'm looking for something more built into VS. Any comments are welcome. Thanks, Dave Great! I will give it a try. Thank you. Best regards, BB ...Show All

  • .NET Development VS 2005 Globalization Culture Character Set

    How would I go about getting a locale's character set For example, unicode.org specifies the Arabic character set to be in the range of 0600 to 06FF (http://www.unicode.org/charts/PDF/U0600.pdf). I want to be able to display the entire character set for any given culture specified by System.Globalization.CultureInfo.GetCultures(...). To get the charset for a specific culture, try : CharSet = Culture_Info.TextInfo.ANSICodePage() ...Show All

  • Visual C++ Combo Box Question

    hi I'm making my first 'simple' application to get me started. its the basic windows Form with just a combo box containg just 3 options ' a or b or c ' ok it works fine but how can i make it remember my last selection i mean when i run the application again it shows nothing and you have to select the option all over again. registry is unneeded for this scenario and far too advanced. you can serialize the collection - so when adding items into a combo box, go through each item and add them into an array. you can then serialize the array/collection and next time deserialize the xml file to restore the objects back to the array collection. http://msdn2.microsoft.com/en-us/library/system.xml.serialization.aspx Take ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Changing multiple textures during run time

    I am currently loading a single mesh object and all textures via an .X file. I have multiple different textures mapped to various faces of the mesh. What I would like to be able to do during run time, is change some of these textures dynamically based on user input. If someone could please point out how I can reference/change the various textures associated with the mesh, it would be appreciated. Take a look at this sample from the XNA documentation: http://msdn2.microsoft.com/en-us/library/bb195020.aspx This sample uses triangle primitives instead of a model, but otherwise the concept is the same with regard to applying an Effect. If you wanted to change the texture being used in this sampl ...Show All

  • SQL Server Two transactions + different rowsets = problem

    PERSONS data table id PName Label ----------------------- 1 John tall 2 Bill rich 3 Mary rich 4 Susan tall 5 Tom thin 6 Lu tall Indexes: id - primary_key Problem: I have a two parallel transactions T1 and T2. Each of transaction deletes data in Persons table. Each transaction deletes unique rowset from table (situation when both transactions are trying to delete one particular row is excepted). So, see the execution timeline below: Example 1 (works fine): T1 T2 ---------------------------------------+------------------------------------- begin tran T1 delete from persons where id between 1 and 3 begin tr ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Scene statistics

    It is possible to get scene statistics: total number of triangles, number of visible triangles How to do it On Windows, you can use the PIX tool (part of the DirectX SDK) to obtain all kinds of information about your scene. The overlay statistics mode is particularly useful here. We don't have any automatic way of doing this on Xbox, so you'd have to add your own instrumentation to your drawing code. ...Show All

  • Visual Basic Unsigned Arithmetic and overflows

    I've had this discussion before with unint64s. Setting what would normally be the sign bit causes an overflow. Now I'm seeing this in unint32s. Dim a As UInt32 = System.Drawing.Color.Black.ToArgb will cause and overflow. Dim a as Uint32 = now.ticks and &hFFFFFFFF will cause an overflow depending in the time. This should not be. What it means effectively is the UInt32 is actually UInt31. Ok Mike I have a better example. Dim a as uint32 = &h7FFFFFFF is legal to the compiler Dim a as uint32 = &h8FFFFFFF is not legal to the compiler. If uint32s functioned as true unsigned integers one should be able to set bit 31. Here the compiler will not even allow you to do it. Only one bit has changed, ...Show All

  • .NET Development Problem with Network Interface Index not equaling

    Hello, I'm trying to use RenewDHCPLease()  ReleaseDHCPLease() in the wmi class Win32_NetworkAdapterConfiguration. The problem is that, the indexes returned from the code below is not equal to the indexes used in the WMI query to perform requested operations above. Dim MyDevice As String = "My Wireless Connection 2" Dim NetworkInterfaceIndex As Integer Dim Devices As Net.NetworkInformation.NetworkInterface() Devices = Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces() For Each Device As Net.NetworkInformation.NetworkInterface In Devices If MyDevice = Device.Name Then Dim adapterProperties As IPInterfaceProperties = Device.GetIPProperties() Dim p As IPv4I ...Show All

  • Visual Basic Hyperlink in Textbox

    I have a VB 2005 app that let's the user bring up a "Discussion" form that simply displays a textbox containing information about the program. Is it possible to put a hyperlink to a web page in the textbox text such that if the user clicks on it it will load IE and display the link Sounds like a simple thing to do but I don't see a way to do it. Thanks. Thanks ahmedilyas ... I would prefer to use a text box because I am displaying a bunch of text and wanted to embed a number of hyperlinks within it. That appears to be awkward at best so I will rewrite the text and refer to a list of hyperlinks at the end ... and then use a series of LinkLabel. I thought your idea of looking for &q ...Show All

©2008 Software Development Network