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

Software Development Network >> Nick Gravelyn's Q&A profile

Nick Gravelyn

Member List

kangalert
BlueDot
avikhinvasara
Jitendra Kumar Mehta
ga2006
Deepthi Rao
Bill_Henning
Jassim Rahma
kats
Roughknite
Ieuan0928
MariamCR
MichaelD!
BonnieB
Walter Zorn
ThomasAG
Abraham Heidebrecht
GeorgeCC
James_Steven
tt2lhp
Only Title

Nick Gravelyn's Q&A profile

  • .NET Development Framework1.1 and Framework2.0

    Can i install FrameWork1.1 and FrameWork2.0 on the same PC hi iliyas, a small doubt on .Net Compact Framework 2.0 .. i have installed Microsoft Visual Studio 2005 . I have developed my app using Visual studio 2005 . but when i tried to install my app in a MotorolaQ Emulator , its showing the error message as follows " A newer version .Net Compact Framework is required to run your application. " . so if i uninstall .Net Compact Framework 2.0 , and if i rebuild the application will it work on Motorola Q . Because i came to know that MotorolaQ ships with .Net Compact Framework 1.0 . i want to make my application work without installing Version 2.0 thanks sadiq ...Show All

  • Visual Studio Express Editions Full row select in readlonly DatagridView and EnterKey

    Hi Am am using datagridview in readonly mode with fullrow select turned on. When I press enter bring up a dialog to handle the Adding/inserting of records. After the dialog is closed, the selected row moves to thenext record. how can I stop this default behaviour. I would like the selected row to stay the selected row. I have looked at other posts but the all involve calling ProcessRightKey to get the focus to the next cell. Unfortunaltly I am unable to tranlate that solution into my requirements. Hi, You mean to press enter and not let the datagridview to go forth to next row, right If so, you can override ProcessDialogKey and ProcessDataGridViewKey method in datagridview. To c ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. A tool to help with Sprite Animations: Sprite Strip Composer

    Hi: I have been working on a game written in the XNA Framework. The game has many sprite animations. After researching how other do this in the community I adopted the approach of loading a "Sprite Strip" (PNG) consisting of a row of frames. If there are many frames and the sprite is large, I split them up onto multiple rows. One of the laborious tasks was creating such 'Sprite Strips' from a sequence of PNGs. I have created a very basic Windows Application named Sprite Strip Composer to solve this time consuming problem. Download: Sprite Strip Composer Instructions: Browse to a folder containing your PNG files. Select the files you want included in the strip. Make sure the animation looks correct by looking at the Animated ...Show All

  • .NET Development returning a dataset for the rest of my code to use.

    I am having trouble accessing a dataset that I have return by code. Here is my code. Imports System.Data.Oledb Imports System Imports System.Collections.Generic Imports System.Text Imports System.Data Public Class Connect Public Function CreateDataSet( ByVal mydataset As DataSet) As DataSet Dim i As Integer = 0 For i = 0 To mydataset.Tables.Count - 1 Try If mydataset.Tables(i).TableName = "Mytable" Then mydataset.Tables.Remove( "Mytable" ) mydataset.Clear() Exit For End If Catch ex As Exception MessageBox.Show( "There was an error creating the tables.Please try again" ) End Try Next ...Show All

  • SQL Server SQL Job don't start

    Hello I have created a jon in the SQL Server Agent. This job will start 2 Integration Packages One package for the etl, and one package for processing the cube 70 % of the time the job wil end success. But 30 % of the time the job wil fail. I don't see anything in the log. This is the only message I see : Executed as user: RLS01BIP01\SYSTEM. The package execution failed. The step failed anyone an idea Thx I have changed the step to cmdexec and I get the following message when executing : Executed as user: RLS01BIT01\SYSTEM. The process could not be created for step 2 of job 0x70B885E0FBEFA144A575B75B59E0BBC1 (reason: The system cannot find the file specified). The s ...Show All

  • Visual Studio 2008 (Pre-release) Window Management

    I have a StackPanel that is used to display one or more objects of type 'Gadget'. The Gadget class is derived from Border and INotifyPropertyChanged. It contains several different controls, one of which is a CheckBox that opens and closes a child Window to display the properties for the given Gadget. I've tried a few different methods to instantiate and manage this Property child Window, but they all have had different problems. I will outline the desired behavior and hopefully someone can help point in the best to to implement it. 1. The Property window should show/hide itself based on the state of the CheckBox in the parent Gadget. 2. The Property window should have a caption bar with the standard min/max/close buttons. When closed by ...Show All

  • Community Chat Zune and the iPod

    I've been following the Zune announcements fairly closely here at work. If you follow my blog, you'll see that I'm pretty passionate about media technologies, and recently went through the pain of migrating away from iPod/iTunes and onto Yahoo Music/Gigabeat S (Portable Media Center). Here the blog category where I talk about it: http://blogs.msdn.com/joemorel/archive/category/13772.aspx Now Zune is in the mix. It looks pretty neat, but I'm not sure if people are really going to go for the whole WiFi thing. I'm just not sure that I want to listen to the same music as the person sitting next to me on the bus. What do you think I use a Bluetooth handsfree device in my car (not headphones) wired into the car radio. It's not st ...Show All

  • Windows Forms Error there is no value at index n

    For counter = 0 To Integer .Parse((mJVGrid.Item(counter, 2)) - 1) If Not mJVGrid.Item(counter, 2) Is Nothing Then If Not mJVGrid.Item(counter, 2) = 0 Then debitTotal += Integer .Parse(mJVGrid.Item(counter, 2)) Else debitTotal += Integer .Parse(mJVGrid.Item(counter, 2)) End If End If Next ------------------ there may be some empty rows in the datagrid. i want to add datagrid rows value but the last row alway empty in my case i dont know wat is the problem...in the above code i want to sum the integer value if there is no value in some row check the next row ..... For counter = 0 To Integer .Parse(mJVGrid.Item(row, 2)) If Not mJVGrid.Item(row, 2) I ...Show All

  • Visual Studio Trap print click event

    Hello, Is there a way to trap when the Print button on the crystal report viewer is clicked. Basically i want to trap the print_click event when the print button is clicked and sent to the printer and then close the page that was displaying the crystal report automatically. Technical Info: --Crystal report 11 --Web based application --Asp pages being used to render the report. Hey Abs, wondering if you managed to figure out a solution to this problem I too am in a similar situation. How ever, as Voss Mentioned, it can be done in Winforms, which i am aware of, but the Tech that we are using is again ASP.NET If by any chance, you managed to figure out a solution, would appreciate your hel ...Show All

  • .NET Development About Connection and Disconnected Architecture

    Hi Which Architecture is better one in performance point of view. I am in big confusion pls help me... thank u seshu babu Are you refering to DataReader vs DataSet If not give us more detail about your question. DataReader is connected, faster, but is forward only. A DataSet is disconnected, slower to load but can be manipulated in memory. ...Show All

  • Visual Studio 2008 (Pre-release) Conditionally Show an Element

    This must be trivial but I am not sure I understand the WPF way to do this...I want to show a TextBlock inside a DataTemplate only if a condition is met...for example I only want to display the TextBlocks below if the xpath statement returns something besides null. <TextBlock Grid.Row="3" Grid.Column="0" Margin="4,4,4,4" Style="{StaticResource Label}" HorizontalAlignment="Right" VerticalAlignment="Center">Max Length</TextBlock> <TextBlock Grid.Row="3" Grid.Column="1" Text="{Binding XPath=@maxlength}" VerticalAlignment="Center"></TextBlock> You could use a DataTrigger whose Bindin ...Show All

  • .NET Development Beginner Questions

    1. When creating a new WCF project in VS2005, I have the choice of File | New | Web Site... | WCF Service and File | New | Project | WCF Service Library. What is the difference between the two and when would I select one over the other 2. When I select the "new web site" choice from above, I get a basic "hello world" project created for me by VS2005. I rebuild the web site w/o any errors but when I run it, it only displays the contents of the service.svc file (I ran ServiceModelReg -i, but had the same results). Why 3. Why didn't any DLL get created as part of the build process in step 2 I got an App_Code directory with a cs file but no DLL. 4. The only tutorials I've found always skips over steps (e.g., " ...Show All

  • Visual Studio Express Editions Use Oledb Connection for ADOX Catalog

    How cane i assign a oledb connection (with a Access Mdb) to a activeconnection of a ADOX catolog because when a use oCat.ActiveConnection = oMyConn i recive a error --> Specified cast is not valid. Best Regards, Vic ...Show All

  • Visual Studio 2008 (Pre-release) There is no binding named 'helloBinding' at system.serviceModel/bindings/wsHttpBinding. Invalid value for bindingConfiguration.

    Hi, I am not able to run http://localhost/group5/service.svc . I get the following configuration error. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: There is no binding named 'helloBinding' at system.serviceModel/bindings/wsHttpBinding. Invalid value for bindingConfiguration. Source Error: Line 5: <service Line 6: name="ProgrammingIndigo.HelloService"> Line 7: <endpoint Line 8: address="" Line 9: bindingConfiguration="helloBinding" binding="wsHttpBinding" Source File ...Show All

  • Visual C# reinterpret_cast in c#

    Hi I am converting a visual C++ application to C# and there is a code that i don't know what i should do with BitmapData img_buf = image.LockBits(rect, ImageLockMode.ReadWrite, PixelFormat.Format8bppIndexed); unsigned char* pData = reinterpret_cast<unsigned char *>(img_buf->Scan0.ToPointer()); Does C# have somethign equivalent to reinterpret_cast in C++ Thanks a lot for your help Best regard Duong For the most part reinterpret_cast is only there to satisfy the compiler when you are doing an inherently unsafe conversion and an analog in C# would depends on what the actual types are as it is ultimately up to the CLR to decide if the type conversion can and will occur. How much control do you have over the code that the p ...Show All

©2008 Software Development Network