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

Software Development Network >> Sachin J's Q&A profile

Sachin J

Member List

GustavMahler
thedewd
Gilles Lafreniere
john11
wenxincao
tody4
VisualDragon
sourendro
Ridz4fun
Kallex
Nick Martyshchenko
Hans L
schmod54
Shaile
Krutika
ebooker
SenthilNathan
xxfredxx
Taylor Brown
mahdi
Only Title

Sachin J's Q&A profile

  • SQL Server Where are the Graphs saved from Data Mining model viewer

    Hi, all here, I tried to find the graphs I saved from Data Mining Model Viewer, but where is it saved As we see from the mining model viewer we could save the graphs there by clicking the 'save graph' button, but where is the graph Really need help for that. Thank you very much in advance for any guidance and help for that. With best regards, Yours sincerely, That's the design of the copy functionality. The graphical views copy as bitmaps and the tabular views copy as tables. There's a fine distinction between what's "graphical" and what's a "table" - essentially anything that looks "table-like" is a table, otherwise it's graphical. The intention is that the graphics can eas ...Show All

  • .NET Development UDP Broadcast Problems

    Greetings all! I'm having problems recieving UDP broadcast packets. I've looked over all the code I can find on MSDN and elsewhere but I can't find what I'm doing wrong. I've got a sending thread and a recieving thread using the same socket to send and recieve the packet. Bellow is a copy of the code I made up to test it out: public Form1() { InitializeComponent(); server = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); server.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Broadcast, 1); IPEndPoint localhost = new IPEndPoint(IPAddress.Any, 2305); server.Bind(localhost); Thread t = new Thread(new ThreadStart(Listener)); t.Start(); t = new Thr ...Show All

  • Visual Basic Object Required: 'My' - why?

    I'm getting an error when trying to setup a click command in outlook 2003 script editor. Here's the script. Sub CommandButton2_Click Me.Textbox7.Text = My.Computer.Filesystem.ReadAllText("C:\info.txt") End Sub Everytime I try to click the button, it's giving me a debugger that say "object required: 'My'" I'm not sure what this means. I thought maybe I just didn't have the myservices class on this computer, but I installed .net 3.0 just to make sure, and this isn't helping. Well, I certainly appreciate the help. I'm a newbie to VB, just asked by my boss to write this up for him. You've saved me hours of time looking for an answer that doesn't exi ...Show All

  • Windows Forms How to limit the BindingNavigatorAddNewItem Control to one Instance

    Hi, I'm trying to limit the BindingNavigatorAddNewItem control so it will add one entry only to a textbox and not reset unless that item is deleted. Thanks for any help... you can use the following code if you're having a problem with exiption when the user add new row when there is unfinished new in the bindingsource: Private Sub BindingNavigatorAddNewItem_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles BindingNavigatorAddNewItem.Click Try Me .BindingSource.EndEdit() Catch ex As Exception Me .BindingSource.CancelEdit() End Try End Sub or just use Private Sub BindingNavigatorAddNewItem_Click( ByVal sender As Objec ...Show All

  • Visual C# How many threads should a process possess?

    Hi, everyone: My application runs with its thread number ranging from 40 to more 60. I wonder how many threads a windows process should have. I have checked a lot only to find that the general MaxThreadNumber for ThreadPool is "25". But how about threads created by Thread.Start Further more, after Thread.Start() was executed in my application, I was surprised to find the the thread may remain "Unstarted" under a uncertain condition which brings about a hang-up. Does this happen just because of too many threads in my application Thank you Thank you very much for your reply. My application is a background service without any graphics in Embedded XP. It has many connecti ...Show All

  • Smart Device Development Question on compiling _vstprintf_s(i.e. vswprintf_s)

    Hi there everyone I am using the _vstprintf_s function in my Smartphone C++ app, and this is the region where it is used: void Add2List (HWND hWnd, LPTSTR lpszFormat, ...) { int nBuf, nLen; TCHAR szBuffer[512]; va_list args; if (hWnd == 0) hWnd = hMain; EnterCriticalSection (&csPrintf); va_start(args, lpszFormat); nBuf = _vswprintf(szBuffer, lpszFormat, args); va_end(args); nLen = (lstrlen (szBuffer)+1) * sizeof (TCHAR); WriteMsgQueue (hQWrite, (LPBYTE)szBuffer, nLen, 0, 0); PostMessage (hWnd, MYMSG_PRINTF, 0, 0); LeaveCriticalSection (&csPrintf); } but when I try to compile, I get this linker error : 1>Linking... 1>BTHello.obj : error LNK2019: unresolved ext ...Show All

  • Smart Device Development Displaying images using IImage - SRC rectangle ?

    Like many people who have been using the imgdecmp method to load jpg and gif images in previous OS versions, I'm now migrating to use IImage. I have my code working calling CreateImageFromFile() and then Draw() using NULL as the source parameter. I then get the entire image displayed in the destination rectangle that I specify. What I havent been able to do is to specify a source rectangle so that I can display only part of the image. Basically I want to be able to pass in : srcX srcY srcWX srcWY dstX dstY dstWX dstWY The API description of Draw() says that the source rectangle is expressed in 0.01mm units. So I have tried to do: pImage->GetImageInfo(&imgInfo); SetRect(&src, (int)(srcX / imgInfo.Xdpi * 254.0), (int) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. SpriteBatch Vs Sprite : 0 - 1

    I have created my own TiledLayer class, converting my old code. I have noticed that the new SpriteBatch class is more slow than old Sprite class. Someone Knows why I use 16 x 16 tile in a 640x480 screen. With new class the render is very slow, while with the old one I have also to reduce the animations' speed. You should put all your tiles in the same texture, and draw the entire tile layer in one Draw call, using the Rectangle parameter to select each tile. This will be many times faster than either doing SpriteBatch.Draw for each sprite, or the old MDX sprite thingy. ...Show All

  • Windows Live Developer Forums How to Capture The Inside pushpins in polygon on virtual earth

    Hi all I want capture the inside pushpins in polygon on virtual earth. pls help to me Okay is this what your trying to do You have a polygon on the map, then you calculate the area of the polygon, and then you want to figure out which pushpins lie in that area If thats the case, here are some general steps I would recommend: 1) Store all your pushpin ID's in a hidden list on the page 2) Find the region of the polygon 3) Now you can iterate through all your pushpin ID's, and see if any of them have a lat/long that fits in that area ...Show All

  • Windows Forms Trouble having column in datatable recognize the data source

    I recently posted a question, but it has not been answered, possibly because my question was not very clear. I have a datatable in the designer view of my dataset (I'm using VB Express). I added a new column to the datatable to correspond with a new field that I added to the underlying access database. For some reason, under the properties of the new column for Source, the database field does not show up. So I am unable to bind the new column in the datatable to the field in the database. What do I need to do for the field to show up under the Source property so the new column gets bound I hope I did a better job in describing my problem. I'm at a standstill in my development until I get this resolved. Thanks, John ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Interfaces

    Could anyone point me in the right direction regarding programming c# with interfaces. I've googled up the subject and whilst there are some good tutorials on how to do it, non of them really explain in simple terms why we should or shouldn't. I just can't seem to get my head around how they work properly. Interfaces in any language represent a blueprint for how a class is to be built, a specification, if you will, and don't actually contain any code themselves. When a class inherits from an interface, it basically says that it meets a certain set of criteria that is defined in that interface. This criteria in C#'s case means that every method and member that is defined in the interface is also defined in the class that inherited from ...Show All

  • Visual Basic Opening an EXE in VS

    Hi, I have Visual Studio 2005 Pro, and I was wondering how I open a plain .EXE file in Visual Studio to look at the code The computers at the university I go to are able to do this, however, I am now using my laptop (I just installed VS .NET 2005) and it just opens shows the name of the file in the side window. Do I need to install an add-in or plug-in to make this work Thanks! Eric If I'm correct this is only going to work for executables generated using .NET products such as VB.NET or C# . ...Show All

  • Visual C++ ATL and R6034?

    Hello everyone, I'm building an application with VS2K5. I am using MFC and I would like to use some WTL classes as well. My problem is that when I include the WTL header files (yes, if I only include these files, this problem occurs): #include <atlbase.h> #include <atlapp.h> #include <atlsplit.h> the application will no longer run, as it fails out with an R6034 (application attempted to load the C runtime incorrectly). As far as I know, this error is related to the embedded manifest of the application. If I open the PE with reshacker, I can plainly see that it now has a dependency for ATL80.DLL (after turning on "Dynamic link to ATL" in the settings): <assemblyIdentity type="win32" name="Micros ...Show All

  • Windows Forms How to enable scroll bars for textbox when it is disabled?

    Hi, I have a text box with Multiline property set to TRUE and with vertical scroll bars activated. Now when the text area is disabled and contains a lot of data, the scroll bar is also disabled. Hence the user isnt able to see the entire data. is there a way to fix this Hi Frank, The first method you suggested would be great.(Overiding the class). This is beacause i have a lot of such controls and hence setting the readonly ppty and doing other stuffs to make it look like disabled would be quite a lot of work.I actually tried this for a control and it worked. Incase you know how to do it, could you please help me with that ...Show All

  • Windows Forms ContextMenu Key Handling

    I am programmatically creating a ContextMenu and displaying it using the Show method in a KeyDown handler for my control. I am running into a problem when the KeyDown being handled is the same as the first letter in the Text of the first MenuItem in my ContextMenu. The problem is the Show method returns right away and sends the Click message for that first MenuItem, so the result is that whenever the user presses the 'M' key, which causes a menu to appear, the first item, "Maximize", is always selected. If I change the name of Maximize so it doesn't start with an M, or change the key that displays the ContextMenu from M to something else the problem disappears. Related to this is that when the ContextMenu is display ...Show All

©2008 Software Development Network