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

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

Ramchandra

Member List

Pockey
Punpromk
swlee
Simon Heffer
KevinInIndy
Bandile
TheQuietShadow
Soumya B
xRuntime
Skyman7291
alexsk8
NickNotYet
Ganwold
rad9k
laboremus
Sanje2v
AndyL
GNLuver
Madok
DreamingBear
Only Title

Ramchandra's Q&A profile

  • Smart Device Development POOM: Can't delete appointment if using IAppointment*->Display

    In Windows Mobile 5 for Smartphone POOM is now supporting the Display method in ITask, IAppointment and IContact (Display was not working in pre-WM5 versions). The Contact card and Appointment card also have a menu connected with the right soft key - the menu enables to beam the contact or the appointment, edit the contact, etc. In the Appointment card, however, the "Delete" menu item is not working. The same command works perfectly in the Contact card - you get a dialog asking to confirm the operation and, upon confirmation, the contact is removed. With the appointment menu, no way - the appointment is retained. Tested on two different Smartphone models from two different OEMs. Is anyone aware of this issue and of a workar ...Show All

  • Visual C++ Bug in Visual Studio 2005 Professional edition ?

    I've created a simple Win32 console application. When I try to run it by Ctrl + F5 it, I get the message: "This application has failed to start because MSVCP80D .dll was not found. Re-installing the application may fix the problem.". Kindly note that i am not trying to run and install my application on different machine.Also note that i've already installed SP1 of 2005 pro edition but still the problem persists. Many a times the problem is solved by the usual methods like: 1) Goto Project Properties -> Linker -> Debugging -> Generate Debug Info (change it to No) 2) Link statically to the C++ runtime library using the /MT switch. Well there is also an alternative about Goto Project properties- ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectX Questions... Problems with .lib and ddraw.h

    Hi, ... ... ... I use the Visual Studio 2005 Standard Edition, Visual C++ 2005... I've done some Windows programming and been using the GDI to make some graphics so far, it works well... But can anybody tell me how to Clear the screen after using the GDIs to draw some polygons... You see, the screen then becomes full of polygons, and that's what was wanted, but then, finally, how about Clearing the Screen completely and then start to draw some other, say, triangles instead... So, What is the exact Command to Clear that Window that the polygons were drawn in... ... ... ... OK, Now, here's the problems... I've finally started to get into Direct3D and DirectX... So, I've read and Understood all the materials about how to creat ...Show All

  • Visual Studio Express Editions View New Form

      I am looking for help in creating a log file, and write the information to a text file to be displayed in a new form while the application is running any help will be appriciated.   DKB Suppose you have two forms, say Form1 and Form2. Form1 has two buttons and Form2 has a textbox with Multiline set to true. Have a look at the following which should give you some ideas of one way to do this Imports System.IO Public Class Form1 Dim LogFileLine As String Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim SW As New StreamWriter("D:\temp\logfile.txt") For X As Integer = 0 To 10 LogFileLine = &quo ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. I want to use a simple fx shader on a simple loaded model

    What I want to do seems very simple to me. I want to do this - Load a 3D model using ContentManager.Load<Model>(...) Load a shader Effect from a .fx file using ContentManager.Load<Effect>(...) Render the 3D model using the shader from .fx file. Can anyone give an example of this that is as straigh forward as humanly possible It does not seem like this should be a difficult thing to do, but I have no idea since I've never used shaders. Also, if anyone has a simple .fx file I can use to test my code, that would be great! I'd love to give my Buttermilk game / GUI engine the power of shaders! Thank you for reading! It seems to work on mine too, but I'm not entirely sure if it's working righ ...Show All

  • Visual Studio What's the difference between a VS .Net Add In and a Shared Add In?

    My question is in the subject.  I'm trying to create an VS add-in, and although it works fine on my machine, it doesn't do anything on my co-worker's.  I created the install and ran it on his machine.  The add-in shows in his Add In Manager, but it doesn't appear to be working.  It has no GUI, it's just supposed to run whenever a build completes.  FYI, I'm using VS .Net (2003).  Thanks! In the meantime, I'll be working on a simple example.  Perhaps it's a rights issue OK, on the question of the difference it's what will host the add-in, correct As far as my problem is concerned, it was a simple matter of making the "events" variable a member variable rather than local, since it was going out o ...Show All

  • Visual Basic get all computers connected to network

    hi all, i need some help.. does vb.net has any inbuild function/methods that gives me the computers connected in my domain of network or in various domain.. is there any thing available there thanks in advance.. which makes it harder, time to upgrade! Download and install the Express editions or purchase the full featured version of VS2005 :-) you maybe able to use WMI for this although I'm not sure but will see if I can dig up something ...Show All

  • SQL Server SQLServer (2000) / MSCS (2003) - Node Failures

    We have an 8 way (Xeon), 16GB server that is regularly failing in the cluster. The precise failure is: 00001260.0000037c::2006/11/20-12:49:43.973 ERR SQL Server <SQL Server>: [sqsrvres] CheckQueryProcessorAlive: sqlexecdirect failed This happens during a large delete/insert batch (> 2M rows). There are no other suspect conditions, ie, hardware error or informational messages, etc. And ideas Hi Jeff, Did you manage to find a solution to this problem because I have the same problem Many Thanks Jonno ...Show All

  • SQL Server Problems with date formats

    The date fromat in my country (Australia) is DMY. It seems to be quite difficult to prevent the month and day being swapped around. I had a case recently where we generating a list of dates to be presented in the report server UI (User Interface) as a list box for a parameter selection. We fixed the problem in the data set (on the data tab) by using "SET DateFormat DMY" only to find that the month and day were still swapped around in the UI list box. If this was just a presentation issue we could live with it but it turned out that the value read into the parameter was incorrect (the day and month were actually swapped). To fix the problem, we had to chnage the data type to VarChar() in the data set query, using Convert() to force ...Show All

  • Visual C# Using break with nested loops

    Hey, trying to write a pretty simple piece of code, seeing if there's a bit more elegant way to do this in C#. I'm trying to write a nested for loop, and have a single break statement to break out of the highest for loop. For instance, in Java this would be done like this: outerloop: for (int i=0; i<10; i++) for (int j=0; j<10; j++) if (condition_met) break outerloop; Does C# have a similar method for defining a different loop to break out of than then innermost one TIA. -Stephen James, I thought about doing the second method there, but I need to retain the values that break the loop, so that one is out of the question. I think I'll just use the goto. Generally I never use them, ...Show All

  • Windows Forms Datagridview vs net 2005 - displayindex of columns.

    Hi, I have 56 columns in the datasource of a datagridview for which i set the columnstyle as below. With dgView .Columns(strName).Visible = blnVisible .Columns(strName).Width = intWidth .Columns(strName).DefaultCellStyle.Alignment = dgvAlign .Columns(strName).HeaderText = strHeaderText .columns(strName).DisplayIndex = <some number> End With   But even after setting the display index for all the columns (visible and non visible ones, too), the columns are not displayed in the order that i specified. I noticed that once the form is deactivated and activated again, the display index values are taken by the datagridview. I even put the code to set the display index in form activated event. B ...Show All

  • .NET Development telnet server communication_newbie Problem vb.net

    Hi everyone, With my code I can connect to device which acts as a telnet server.So after connecting I have to send some commands through my textbox1 and receive responses into my textbox2.when I type a command like "h" and send by button1, it asks for the username(in my textbox2) like username> so I send the username through textbox1 by clicking send button.Then instead seeing password> I see my first command "h" in textbox2 (without username> prompt only "h"),then I click button1 again i see the first letter of my usernameagain after clicking I see the remaining part of my username in the textbox2,again clicking I see my username,when I keep on clicking it continues until I receive invalid use ...Show All

  • SQL Server How to : Truncation : Can i write a log entry whenever data is truncated?

    I'm reading data from a flat file source. If some data gets truncated, i have the option of 'ignoring', 'redirecting' or 'fail component'. What i'd like to do is, to allow the data to be truncated, but i'd also like to write a log entry so that i can know that a particular rows data has been truncated. I've tried 'redirecting' the row to a script component (as transformation), but i don't know how to determine if the error is truncation or not, not only that, i can't redirect the row back to the 'original' flow, which is a derived field column. Any ideas on how to do Cheers. That kind of dilutes the generic nature of the logging infrastructure. now you're talking about raising events for arbi ...Show All

  • Visual Basic Exception when creating a new WinForm in an Async Delegate Callback method

    Hello. I am having a bit of a problem using Delegate.BeginInvoke. Actually, the asynchronous method calls are working just fine and the callback methods are called correctly. I have a long-running method that returns a typed dataset. That dataset is then used to populate an Active Report document in a new WinForms window. However, the attempt to create the Report Viewer WinForm throws an exception in the constructor. Here are the relevant bits of code: Private Sub btnRunReport_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRunReport.Click 'Code to get values from the UI, etc. Dim dr As New DataRules Dim crDelegate As New CarrierReportDelegate(AddressOf dr.ReturnDataForCarrierReport) crDelegate.BeginInvoke ...Show All

  • Windows Forms transparent label?

    Holla Im designing a new user form. How do I create a label with transparent back color There is a field "Transparent" at the properties-dialog wich inserts "Color.transparent", but it doesn't work. The label has the same color like the window. Is there a way to get a real transparent label Thanks knackpunkt83 Figured this out on accident while messing around. Once the label is set to transparent, you have to add the label control to the picture box. pictureBox1.Controls.Add(label1); ...Show All

©2008 Software Development Network