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

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

Harshil_Patel_5326c0

Member List

Checkmate
RAYMOND KNIGHT
Residual Logic Games
ctree555
RJY
Michael J. Brown
Cell_PT
Jamie Thomson
Nikolay Surdo
jeremy2006
sergiom88
Ruhina
smaully
scorpsteals
malignate
oneforall2012
John Woodiwiss
sticksnap
Giulio-G
Tomys
Only Title

Harshil_Patel_5326c0's Q&A profile

  • Visual Studio Express Editions Logic problem

    This problem appears to be a logic problem rather then a syntax one. Basically I have a heap of images and I want to display 3 per row. My problem is atm it is only displaying 2 on the first row and then 1 per row after that. Here is my code: Private Sub maps_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load loadworldMaps() interval = 0 setting = "maps" id = "worldMaps" y = 20 x = 10 width = 160 height = 110 For count = 0 To 59 interval = interval + 1 worldMapsDisplayArray(count) = New worldMaps(badgesArray(count).mapImage, worldMapsArray(count).name, worldMapsArray(count).mapInfo, x, y, width, height, count, "worldMaps", setting, interv ...Show All

  • SQL Server connect to sql server from other computer

    hi i have 2 computers named pc1 , pc2 . i have lan connect between this computers. in pc1 i have server named center , in this server data base named library. how i can connect to this database from pc2 . note: i am working with visual basic 2005 . please help me , Are these two servers in the same domain If not, you'd better first configure the authentication mode of the SQL Server to Mixed Authentication and change the password of the sa account, which by default is blank. After this, you can specify a connection string for the SqlConnection class in VB.NET, specifying the machine name of the sql and username and password. After this, you should be able to connect to the remote server. It is not much different ...Show All

  • .NET Development How to find other computers connected to my system?(LAN)

    Hi, I want to know how to find other computers that are connected to my machine in vb.net. using .net framework 2.0 Thanks, SK You can find out the remote IP addresses of all active IPv4 TCP connections on your machine using IPGlobalProperties.GetActiveTcpConnections().. Read more here http://msdn2.microsoft.com/en-us/library/system.net.networkinformation.ipglobalproperties.getactivetcpconnections(VS.80).aspx ...Show All

  • Smart Device Development Form closing event not fired

    Hi, I have an application with only one form. If the user wants to close this form I want to ask him, if he would like to save his work. I'm trying to do this in the form's closing event. But this event is not fired. Has anyone any ide ralph Overriding OnClosing will not change anything. The default implementation fires Closing event. If you are not getting the event, OnCLosing is not called. Application.Exit does not fire OnClosing by default. If you want to make sure the user gets asked, do not use Application.Exit ...Show All

  • Visual Studio 2008 (Pre-release) How to reference listbox row with button added as ListBox item using Datatemplate.

    I have add a button to each row in a listbox using a Datatemplate. I have a method that fires for the button click but now I am not sure how to reference the listbox row that I am clicking it on. Any ideas <XmlDataProvider x:Key="SearchResultData" XPath="/tabular_select_result"> <x:XData> </x:XData> </XmlDataProvider> <!-- create a data template to display the desired XML node values --> <DataTemplate x:Key="SearchResultDataTemplate"> <Grid Margin="5"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*" SharedSizeGroup="ButtonColumn"/> </Grid.ColumnDefinitions> <Button Click="Edit_Cli ...Show All

  • Smart Device Development Null null lovely null

    Newbie question ;) Iget a nullrefernce in: private void lvProduct_SelectedIndexChanged(object sender, EventArgs e) { if (lvCurrentProducts.FocusedItem.Equals(null)) { MessageBox.Show("Null null ja sa nuull"); if (lvCurrentProducts.FocusedItem.Text != " ") { CurrentProductID = int.Parse(lvCurrentProducts.FocusedItem.Text); } else { CurrentProductID = 99999; } } Please Help :) Care to let us know which line Maybe some backgound Or maybe this is some wacky test of our 1337 skillz ^^ ...Show All

  • Smart Device Development ArcPad in Compact Framework

    Hi, Is it possible to integrate Arcpad with an application in compact framework 1.0 Thanks, Sangeetha Hi Sangeetha, I don't know the answer to your question, unfortunately, but I think the Compact Framework folks will know how to help you. Moving to that forum. ...Show All

  • SQL Server Reporting Services on a Workgroup based network?

    Can I use Reporting Services 2005 in a workgroup to serve reports for a windows application which is distributed accross the network I've already tried but when the application on a client pc requested a report from the report server i got a message about not having enough permissions to see the report. The windows application was builded using VB .NET 2.0 and VS2005. The report server instance is installed on a server 2003 enterprise along with the SQL Server 2005. If this is possible how can set permisions or make my application to be able to requests and show reports Thanks a lot to anybody who takes the time to answer. Antonio Alfaro I think the problem with wkgrp is that IIS authenticat ...Show All

  • Visual Studio 2008 (Pre-release) How can I bind a ConverterParameter value ?

    I would like to make a textblock display the remaining time of an operation. The bound object has two properties: ElapsedTime and TotalDuration, both of type TimeSpan. I thought the following should work, but it doesn't because the parameter passed to my custom converter is a Binding object, instead of the result of the binding: <TextBlock Text="{Binding ElapsedTime, Mode=OneWay, ConverterParameter={Binding TotalDuration}, Converter={StaticResource RemainingTimeConverter}}" /> The RemainingTimeConverter is implemented to subtract the "value" from the "parameter" and return a string representation of the resultant TimeSpan value. Why isn't the inner Binding evaluated and its value passed ...Show All

  • Smart Device Development C# + PPC

    Good day to the MSDN members, I've asked this question before, but didn't get much of a reply, and so I gave up thinking it would go away, but it seems it's quite important for a project that I'm working on. Situation: I'm in charge of creating a DLL file that will pull information from a PPC running Windows CE, and has Pocket Access installed on it. I know what needs to be pulled, but the question is...How would I code such a thing. I've been searching on the internet for many a moons now, but have come noticed everyones comments...Switch to SQLCE. I'd love to but can't, the client is set on using this software that uses MS Access as its backend as well as its frontend. The VBA programming when a PPC is cradled seems to be pullin ...Show All

  • Visual Studio After VS Service Pack install, cannot design a user control

    I need a forum to answer the issue: I just installed VS.Newt 2003 Service Pack 1, and now, whenever I try to design a user control, I get the error: The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: CAT_Import_Menu --- The designer for base class 'System.Windows.Forms.UserControl' is not installed. !!! I uninstalled and reinstalled the Windows.Forms library, but to no avail. there are plenty folks here from Microsoft but whenever they read this..who knows to show the SP1, make sure you click/check the "Show Updates" in the add/remove programs in Control Panel. uninsta ...Show All

  • Visual Studio Team System Cannot find the “Process Template Editor”

    The v1.2 power tools insist that it installed it, and all the MS blogs are talking about it, but unfortunately I haven’t found it yet; how can I access that from VS.NET No, that's pretty wierd. No mention of it on the DSL Tools forum that I can see either. http://forums.microsoft.com/msdn/showforum.aspx forumid=61&siteid=1 Is it still persisting (I'm hoping that restarting might have fixed it.) Alan ...Show All

  • Windows Live Developer Forums Welcome!

    Welcome to the adCenter developer forum! The purpose of this forum is to enable discussions related to adCenter API. The target audience is developers, who build applications that run against adCenter. The Microsoft adCenter API team is monitoring this forum and will try to answer questions in a timely manner. You are encouraged to post questions and answers, and bring up development issues to our attention – and to the attention of other adCenter developers. Thanks! Shai Kariv Microsoft adCenter Recycling electrons: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=636744&SiteID=1 HTH, Shai ...Show All

  • Visual Studio Team System Drag and drop not working in VS 2005 using Stored Procedures onto the Design view for aspx pages

    Hi, I would like to know if there's a way in VS 2005 to drag and drop stored procedures from the Server Explorer to the .aspx page design view like VS 2003 I thought it was nice in VS 2003 to drag the SP onto the page and it would create and initialize the SP. In VS 2005, it won't let me drag the SP, I have to use the SqlDataSource and it doesn't generate a code in the code behind page Can anyone give me any guidance on this Thanks, Jaime Hi, I wish someone from Microsoft would answer this question. I'm not sure why they disabled this feature. It's taking me an extra 5 minutes to initalize a large stored procedure opposed to 10 seconds doing it the old way. If you add all the extra time building a large a ...Show All

  • Visual C# problem resizing images

    I found some code on the internet to resize an image, but when i want to resize an image to lets say 300*200 i get an image that is 266*200. I even tried 350*200 but still 266*200! This is the code: public void ResizeImage(int MaxWidth,int MaxHeight, string FileName, string NewFileName) { // load up the image, figure out a "best fit" resize, // and then save that new image Bitmap OriginalBmp = (System.Drawing.Bitmap)Image.FromFile(FileName).Clone(); Size ResizedDimensions = GetDimensions(MaxWidth, MaxHeight, ref OriginalBmp); Bitmap NewBmp = new Bitmap(OriginalBmp, ResizedDimensions); //Dit gebruiken als er geen gebruik gemaakt wordt van saveFileDialog //NewFileName = Fil ...Show All

©2008 Software Development Network