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

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

pratcp

Member List

KentaroM
Dual Cortex
kemal
nodoutt
Paras Dhawan
NetPochi
Lauri
daxu
CFIG
.NET Developer
James Bender
Erik Pedersen
connect2sandeep
renyx
Hossam Abdel Wahab
soanfu
dork
Rohit Tela
Ri_Kamen
mcarl828
Only Title

pratcp's Q&A profile

  • Community Chat JimmyWidgets

    --- Original Post --- Hi everyone! My current project is JimmyWidgets, a widget program like Apple Dashboard, but for PC! You can even make new widgets in DLL format and post em on the online database! When I've made more widgets (I've only got 2 at the moment), I'll post it at www.jimmyware.co.uk  . It's going to be open-source, so you can download the source from there too. Here's a screenshot: http://www.freewebs.com/robinjam/JimmyWidgets%5FScreenshot.jpg I await any comments/suggestions! (But please don't be too harsh about my efforts, it took me HOURS)   P.S. A list of problems I need to fix: The online database currently lets you download the same widget twice, making startup time longer (because ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA for VB.NET ?

    I want to ask, are there any chance for support VB.NET in XNA for the next time I develop only data base application using VBA or VB.NET. I don't like to change syntax, so I stay by VB, but I want to use 3D possibility in my application. XNA is good alternative for using direcX. Thanks simon It should work on Windows. It doesn't appear likely that vb.net will be supported on the XBox360 anytime soon: (from http://grammerjack.spaces.live.com/blog/cns!F2629C772A178A7C!158.entry ) Q: Can I use this call-a-DLL approach to write Xbox 360 XNA Game Studio Express games for other non-C# CLR languages like Iron Python or Visual Basic A: Unfortunately no, not for those two specific languages. (S ...Show All

  • Visual Studio Express Editions inserting into an array

    I need to insert a comma separated string into a two dimensional array. The data will be in the following format: (an order number followed by a quantity number for each. e.g. 12345611, 1, 1234566, 1, 13131313, 3, 2112121212,1 Can anyone please help Try something like this: public static int Csv2Array(string csv, int[,] array) { // Converts <csv> to a 2-dim <array>, returns number of elements int cnt = 0; for (int ix = 0; ix < csv.Length; ) { int jx = csv.IndexOf(',', ix); if (jx < 0) return cnt; int kx = csv.IndexOf(',', jx+1); if (kx < 0) kx = csv.Length; array[cnt, 0] = int.Parse(csv.Substring(ix, jx - ix)); array[cnt, 1] = int.Parse(csv.Substrin ...Show All

  • Software Development for Windows Vista IncludeDebugInformation not working

    Hello, I compile the workflow from my code and even if I set the WorkflowCompilerParameters.IncludeDebugInformation to false I have a pdb file generated into C:\Documents and Settings\user\Local Settings\Temp\pjrcbuqy How can I avoid the folder and pdb file generation into the Temp folder Thanks, Pierre ...Show All

  • .NET Development SQL Table Lookup Methods

    I am looking for a good method to do table lookups in a 2003 SQL database. I am retrieving products from an item table and then want to do value lookups in related tables in the same database like category name, category type, brand name etc. These values are referenced in the item master file by guid links to related tables.I am using a datareader to loop through the Select records and then I am writing results to a tab delimited data file for a data conversion. I am limited to net 1.1 and so can't use the 2.0 executescalar for single lookups. What would be the more efficienct method to use 'Dim myItemData As New DataReader Dim myItemReader As SqlClient.SqlDataReader Dim myItemCommand As New SqlClient.SqlCommand ...Show All

  • Smart Device Development windows mobile 2003 SE and net cf v2

    I moved from using visual studio 2003 to develope an application for a windows mobile 2003 SE PDA to vs2005. After some problems this now works. However when I upgrade to using .net cf v2 and download to the PDA the forms in the application become compressed to appox. a quarter of their origial size. The menus are still in the correct place its just the size oif the forms. Has anyone else had this problem, does anybody know of a solution I already have NETCFv2 SP1 installed. Thanks Rob Thanks for replying. The post from Tim indicated the thread would be moved but I was n't sure what he meant and the thread appeared to remain in the smart devices C# and vb forum henc ...Show All

  • Windows Forms Data Relations not working please help

    Hello I am working on a application with both customer and order data. I am able to bind the controls to the respective textboxes.But some how data relation does not seems to work Can you help Here is the code : Imports System.Data Imports System.Data.OleDb Public Class Form1 'Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Customer Table Address Info Dim AddressConnection As OleDbConnection 'To Open the DB connection Dim AddressCommand As OleDbCommand 'Commands to manipulate data Dim AddressAdapter As OleDbDataAdapter 'Stores commands to access the data in the DB Dim AddressTable As DataTable 'Contain ...Show All

  • Visual Studio Express Editions Load Image to PictureBox

    Hello I need some help. I would like to load picture using OpenFileDialog and than put this pcicture on Background Image in one of Picture Boxe's. Here is my code, it is not completed... Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Using dialog As OpenFileDialog = New OpenFileDialog() dialog.InitialDirectory = My.Computer.FileSystem.SpecialDirectories.Desktop dialog.Filter = "JPEG (*.JPG;*.JPEG;*JPE;*JFIF)|*.JPG;*.JPEG;*JPE;*JFIF|" If dialog.ShowDialog() <> Windows.Forms.DialogResult.OK Then Return End If Dim fileName As String = dialog.FileName Me.PictureBox1.BackgroundImage = (need help) End Using End Sub Thank You ;) ahmed ...Show All

  • Internet Explorer Development BHO for windows Mobile 2005

    Hi , I am try to build a BHO for windows mobile. I am able to get some help from the sample piehelper but unfortunately it is doesn't explain a lot of things. Here is what i want to do 1. Capture key events like BACK, TALK, END 2. Access the loaded html and fill the text field with some data 3. Access the data in the text field of html I was trying to use IHTMLDocument2 but i am not able to compile the code. Can anybody help to resolve this issue. Thanks, chandra Hi Chandra, Any luck with this I'm trying to do the same thing. Please email me back. Thanks, Tian ...Show All

  • Visual Basic problem using COM Class...(urgent help please!)

    I decided to develop a COM standard dll aiming to instanciate it using Excel 2003. After some help documentation look up, I realized that .NET 2005 is able to provide me a solution trhought a "COM Class" item. Below the code: <ComClass(XlBasic.ClassId, XlBasic.InterfaceId, XlBasic.EventsId)> _ Public Class XlBasic # Region "COM GUIDs" ' These GUIDs provide the COM identity for this class ' and its COM interfaces. If you change them, existing ' clients will no longer be able to access the class. Public Const ClassId As String = "A9FF699C-5289-4d10-9497-2219719DD2AB" Public Const InterfaceId As String = "94456DA3-99D1-48d0-97A1-09F4A4A5EADC ...Show All

  • SQL Server Report Model: Drill on calculated field in Report Builder

    Hi, I've created dsv that contain all fields from table database. in the smdl I've remove some fileds due to security. All fields in the smdl do not contain drill. Issue: When I created calculated field in the report builder the field has a link. When I clicked the drill I saw all the record data including field that not in the smdl. Questions: 1) Can I remove the link from the calculated fields 2) Can I prevent from users drill to fields that not in the smdl Thanks, Assaf 1) You cannot remove the Clickthrough links using Report Builder. You can manually remove them by editing the report in Visual Studio. However, you may not be able to load the report back into Report Builder after m ...Show All

  • .NET Development Asp classic to asp.net

    Is it possiable for me to convert asp classic to asp.net Do I have to download something or change something because I have to modify a few pages that has been done in asp classes to asp.net. There is a whole forum dedicated to this area on the asp.net site: http://forums.asp.net/29/ShowForum.aspx   ...Show All

  • Architecture Query on Entity Design

    There are times when one might have to load 2 entities out of which only few fields might be required from the second entity in that particular screen. For example I could have a customer entity and an order entity. In an order capture screen I would require the order entity and few fields of the customer entity say name, address.. So the question is for a few fields of customer entity does it make sense to load the entire entity.. This would make even more cause of concern if the corresponding entity has many child entity collections in it. For example one customer would have multiple address, contact numbers and so on. I presonally feel that no matter who little or more one uses the entity, the entire entity needs to be loaded because ...Show All

  • .NET Development Can't load remote type unless assembly is in program directory.

    I'm registering a remote type with RegisterWellKnownServiceType. When I try and call a method on that type remotely, I get a FileNotFoundException unless the assembly is in the same directory as the program executable. I'm guessing GAC'ing would fix it too, but I'm looking for a solution that doesn't require an install step for my app (i.e., my requirement is that it is xcopy installed). Thanks much, Tim If the object is MarshalByRef then you could let it implement an interface that is defined in an assembly referenced by both client and server, and use that interface as the type when getting the proxy on the client side. This is typically the preferred way to do any serious remoting since ...Show All

  • SharePoint Products and Technologies Associations

    Hi, I'm using the AdventureWorks BDC example to try to assiociate two entities. The example works, but when I do my modifications, I get the error "Could not find fields to insert all the Identifier Values to correctly execute an Association method." It's possible I've stared myself blind on this xml, but I am not able to find where the missing tags should go. This is my bdc app def: < xml version = " 1.0 " encoding = " utf-8 " standalone = " yes " > < LobSystem xmlns:xsi = " http://www.w3.org/2001/XMLSchema-instance " xsi:schemaLocation = " http://schemas.microsoft.com/office/2006/03/BusinessDataCatalog BDCMetadata.xsd " Type = " Database " ...Show All

©2008 Software Development Network