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

Software Development Network >> Sarath.'s Q&A profile

Sarath.

Member List

kin2
jigsaw-ols
nehajampala
IShIgor
Strandberg
Abhishek Chadha
Leo Liu
N_John
SBProgrammer
Takato
Taposh
Dhondtie
Kevin Jacobson
Allen Nelson
Toolmaker
invantix
spacelord
Jeremy.Murray
paradigm918
Gabriel Méndez
Only Title

Sarath.'s Q&A profile

  • Visual Basic I'm bored, so does anyone have any ideas on...

    I'm bored with Visual Basic, so I was wondering, what do you people program in VB I'm just bored. I don't know what to do, but I want to use all this programming power. Any ideas Thanks. The world is full of potential applications to build. If you cant see any you not looking very hard... :-) If your bored with VB.net and cannot find anything to develop, moving to C# is not going to help as you will be creating the same applications but using a different language. Are you saying you have created windows apps, web apps, services, office applications using VB and you could not think of another application which would be useful. If this is the case then I'd get out into the world a bit more. ...Show All

  • Windows Forms removing rows from TableLayoutPanel

    At runtime, whenever I remove a row from a TableLayoutPanel, the actual size of the last row is increasing. The table is intialized as follows: _table.AutoScroll = true; _table.AutoSize = false; _table.RowCount = 10; for (int j = 0; j < 10; j ++) { _table.RowStyles.Add( new RowStyle(System.Windows.Forms.SizeType.Absolute, DEFAULT_HEIGHT)); } The remove code is as follows: void RemoveLastRow() { _table.RowCount = _table.RowCount -1 _table.RowStyles.RemoveAt(_table.RowStyles.Count - 1); } After I do the remove, the new last row now has a height that is double what it used to be. The RowStyle for this row still reports DEFAULT_HEIGHT, but the GetRowHeights method reports the new size. The combined heights of all of t ...Show All

  • SQL Server SSAS minidumps after installing SP2

    We've had SP2 for about a week now, and we notice that it hangs itself every couple of days. Here is an example the content of the *.mft file. How can we investigate this kind of problems SSAS 2005 SP2 x64, on Windows 2003 Version=131072 General_AppName=msmdsrv.exe UI LCID=1033 EventType=SQL90Exception64 P1=msmdsrv.exe P2=9.0.3042.0 P3=0000000045CD8110 P4=msmdsrv.exe P5=9.0.3042.0 P6=0000000045CD8110 P7=0 P8=00000000005488CC P9=0000000000000000 FilesToKeep=D:\MSSQL.2\OLAP\Log\SQLDmpr0073.mft|D:\MSSQL.2\OLAP\Log\SQLDmpr0101.mdmp ReportingFlags=370 UIFlags=1 LoggingFlags=4 EventLogSource=SQLDUMPER We also get following errors in the Event Log, could they be due to the SSAS service hanging, and msmdpump.dll failing to connect to the ...Show All

  • Smart Device Development SerialPort and SMS

    Hi, We are writing a SMS component for Siemen MC55 modem inbuilt for Windows CE 4.2. We are using .NET CF 2.0 SP1 for the development tool in C# language. We use the SerialPort class for COM communications. This is our key challenge, I hope someone will be able to give some advise. private void OnComPortReceive(object sender, SerialDataReceivedEventArgs e){ if (e.EventType == SerialData.Chars) { string response = serialPort.ReadExisting(); stateMgr.ProcessResponse(response); } } After send a receive SMS command, for instance "AT+CMGR=1", there are times when the response from serialPort.ReadExisting() is broken up. For example instead of receiving in a single ReadExisting() for the follow ...Show All

  • Visual Studio Express Editions Control to browse files

    Firstly, i am a newbie and have been enjoying the learning process and all of the resources i've been able to find here & elsewhere. I want to setup a control which allows the user to browse their computer and select files, updating a listview upon selection. So far, i have been using a treeview control and updating it with information using the system.io namespace. I have had moderate success with this, and believe i can get this to do everything i need, but i can't help but wonder if there is an easier way This seems to be such a basic function that i would think there is some ability inplace to handle this. Thanks for any help/insight! Josh There are also a couple of built-in dialogs for o ...Show All

  • Microsoft ISV Community Center Forums Mac Pc compatibility with Excel VB

    I have a program I wrote in Excel VB that I want to be able to run on a Mac. However when ever I open the workbook on a Mac many of the user forms come up blank, and most of the string functions are undefined. specifically mid() and chr() functions. When I start a new program from scratch on the Mac the mid() functions work just fine. Is it possible to resolve these issues or are these lower level functions not compatible between both systems. PC excel vertion = Microsoft Excell 2002 (10.2614.2625) Mac vertion = Office X for mac The error isn't in the string functions. The problem is with some other library or command which is not valid in Mac VBA. I've found that the strings library acts as th ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. RenderTarget2D and MipMaps

    How to "enable" automatic mipmap generation in RenderTarget2D i don't know why but it don't work m_DrawBufferColor = new RenderTarget2D(m_GraphicsDevice, 1024, 1024, 4, SurfaceFormat.Color, MultiSampleType.None, 0); m_Game.GraphicsDevice.SetRenderTarget(0, m_DrawBufferColor); //here i render m_GraphicsDevice.ResolveRenderTarget(0); m_GraphicsDevice.SetRenderTarget(0, null); //now i use it Texture2D Tex = m_DrawBufferColor.GetTexture(); m_HDREffect.Parameters["DiffuseTexture"].SetValue(Tex); //part of fx file Out = tex2Dbias(DiffuseSampler, float4(In.TexCoord.xy, 0, 3)); and i get some thing that looks like like random (texture on this mip level is some random memory) //------ ...Show All

  • Visual C# Unable to debug C# solutions

    I'm using Visual Studio 2005 Pro. This problem is repeatable with archived code on backup discs as well as new solutions. When I attempt to run my apps in Debug Configuration with breakpoints, I get the message: the following module was built either with optimizations enabled or without debug information. D:\Programming\Solutions\******... To debug this module, change its project build configuration to Debug Mode. To suppress this message, disable the 'Warn if no user code on launch' debugger option. Here's a screenshot . This is done with a brand new solution. File > New > Project > C# > Windows/Windows Application > Ok > Build > Run. [update] as par this thread , I've tried restoring factor default settings.  ...Show All

  • Windows Forms Deploy simple unmanaged C++ DLL along with ClickOnce?

    Hi, What is the best way to deploy a simple unmanaged C++ DLL that is called from a C# WinForms app using PInvoke I was thinking about adding the minimum Reg-Free COM stuff to it (without actually needing it) just to make ClickOnce deployment easier. Is that a good idea Anything simpler If ClickOnce doesn't know how to update unmanaged DLLs, what does it do when you update the managed parts of an app deployed with ClickOnce Does it always just recopy and "install" whatever unmanaged DLL is currently in the solution Thanks, Alex Here is what I did.  This seems to work fine. Since I have the sources for this unmanaged C++ DLL I created a second minimal managed C++/CLI project and then included ...Show All

  • .NET Development Clustered SQL Server 2005 and ADO.NET

    We are considering setting up a SQL Server 2005 cluster. Is there a developers guide to writting applications for this environment What can we expect out of the box(s) Should we be writting additional code in our dataccess components to detect and handle when failover occurs Any advice most welcome. Thanks. BenW If you are considering a real cluster, take a look at this link to your local Books Online: ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/d92134fe-8b36-496e-bc20-bda96973f3ac.htm Zlatko ...Show All

  • SQL Server VB GUI client app inserting into db but where?

    I have a VB GUI client application, no source code or anything, and when I use the GUI to delete a record, is there a tool or something that can tell me where/what the client app is doing in the db (which tables are being accessed, what operation (delete/update/add etc..) The reason I ask this is as follow. I have a client with an access control server. the server stores cards that employees use to enter the building and present to a reader to gain access. this is first time I see this specific type of server. I am integrating some 3rd party app. the db is completely open, I can see all tables etc.. the GUI is closed, the manufacturer will not discuss anything about how it works. I was playing around wi ...Show All

  • Visual C# Beware my nasty code! - how can I simplify this?

    Hi have the following switch statement that tests for a value and then loads up its relating Form. switch (objQuestion.m_objQuestionType.m_strCustomForm) { case "FormInspectionAnswerCustomLocation": frm = new FormInspectionAnswerCustomLocation(ref objQuestion); break; case "FormInspectionAnswerCustomCause": frm = new FormInspectionAnswerCustomCause(ref objQuestion); break; case "FormInspectionAnswerCustomProduct": frm = new FormInspectionAnswerCustomProduct(ref objQuestion); break; case "FormInspectionAnswerCustomSupplier": frm = new FormInspectionAnswerCustomSupplier(re ...Show All

  • SQL Server transfer database task expression error

    Hi, I'm trying to set the DestinationDatabaseFiles property programmatically through an expression. I keep getting the error: SSIS package "Package1.dtsx" starting. SSIS breakpoint 'Break when the container receives the OnPreExecute event' at executable 'Transfer Database Task' has been hit Error: 0xC002929C at Transfer Database Task, Transfer Database Task: The transfer file information "","","" is missing the filename. Error: 0xC002929D at Transfer Database Task, Transfer Database Task: The transfer file information "","","" is missing the folder part. Error: 0xC0024107 at Transfer Database Task: There were errors during task validation. Warning: ...Show All

  • Windows Forms Typed dataset code change

    Hi, I have a typed dataset for which the code is auto-generated fortunately or unfortunately (not sure).... When I explicitly change the generated code, say I change an input parameter type of a method from int to string, the same doesnt get reflected in the .xsd which is the designer. Is it because of the GeneratedCodeAttribute Thanks, Shyam ...Show All

  • Windows Live Developer Forums Removing added "Categories", how?

    Hi, Ive added a couple of new categories on my blog, but i now wish to remove them or rename. I created a new post on the blog and created a new category for that post, i then deleted the post and want to remove that category so it does not appear in the category list box. Could anyone enlighten me on how to do this the only thing i can seem to do is add more categories and not remove any custom named ones :( Thanks Jon. Anyone have any suggestions, I added a category called " " and i need to remove it, cant find a way to do it - its annoying as i dont want the category showing in the category list :(. Surely there is a way to edit the categories Any help or suggestions ...Show All

©2008 Software Development Network