lathajith's Q&A profile
.NET Development How to interrupt the #~ Stream in CLI
In the #~ Stram, are there only Module Table, TypeDef Table, Method Table And how to know which code is response for these table It's been a long time since I looked at this but IIRC there can only be one metadata stream, either #- or #~. It contains all tables. I'm not sure what you mean by your second question. Can you give us some context and describe what you're trying to do ...Show All
SQL Server Running Sum on DataReport
Hye Guys, I am a beginer programmer.. I have started 2 build a simple database application. I am now in the stage of showing the data in reports 2 print. I am suggested to use datareport available in VB. I also did my some of the report in it. It worked fine. But now I am stucked in one step..of displaying the calculateable field in the detail section.. Eg. in database: Item Type Qty A Pur & ...Show All
Visual Studio Look what happened after I installed SQL Server 2005.
Visual Studio Express 2005 Beta 2. SQL Server 2005 Express June CTP. After I installed the SQL Server 2005 books online, this is what happened to the visual studio documentation. http://hometown.aol.co.uk/shexec32/shexec32/images/screencorruption.png Look in particular at the table of contents. These strange topics appear all over the Visual Studio Express documentation. They appear to be fragments of the Net framework help. Sometimes, I can even see non-english characters (eg. from the Kanji range), which could suggest I'm looking at my contents of memory. This occurred after I installed the SQL Server books onlin ...Show All
SQL Server How to continue package execution during error?
We have a package that loads the data from several excel files into database in a forloop. Everything works files until the package hits the bad file. My goal is to continue the loop to process the rest of the files by skipping the bad file and error. In each task OnError I am creating custom error message to send an error/ sucess summary email out at end of the process. How can force the for loop to continue when there is an error Is there any way to reset the errors Thanks R The behavior is mostly controlled by three properties: MaxErrorCount, FailPackageOnFailure and FailParentOnFailure ...Show All
Visual C# Using Sound(OLE) in program
I would like to use MS SNDREC32.EXE in my program; however, I cannot find the documentation on how to pass Sound(OLE) objects in my Access Database to this program using C# Express. I would like it to work as it does in Access, Word, and Excel but the format is beyond me. The Sound(OLE) objects doesn't appear to be normal WAV file formats. I have copied the Sound(OLE) object to a file directory and it attaches .shs as an extention. I could resort to using MS DirectX. Found some sample programs such as http://www.planet-source-code.com/vb/scripts/ShowCode.asp txtCodeId=2580&lngWid=10 &nbs ...Show All
.NET Development How do I know if I need MFC x86 or x64?
I know this sounds like a dumb question but here is why I am asking. I recently installed the .NET 2005 Express versions of C++, C#, and J#. I have a 64 bit laptop running win64. It has 2 program folders one for 64 bit apps and 1 for x86 apps. After the installation was complete I notcied that all of the Visual Studio Express versions were in the x86 folder. There is however one folder name MS Visual Studio 8 in the 64 bit folder for the Remote debugger. The Platform SDK installed in the 64 bit folder as well. The SQL stuff seems to be split between the 2 folders. This is confusing me. I do not r ...Show All
Visual Studio 2008 (Pre-release) TabControl and ItemTemplate
Hi, I want to create a tabControl and I want to specify an ItemTemplate for each TabItem. (with Feb CTP) But this xml code doesn't work. < TabPanel Width = " Auto " Height = " 350 " x:Name = " MyTabPanel1 " RenderTransformOrigin = " 0.5,0.5 " > < TabPanel.Resources > < DataTemplate x:Key = " ContentDataTemplate " > < StackPanel Orientation = " Vertical " > < Label Foreground = " AliceBlue " Content = " Hello " /> </ StackPanel > </ DataTemplate > </ TabPanel.Resources & ...Show All
.NET Development .NET Remoting v/s Web Services
In terms of performance, is there a difference between Web Services and .NET Remoting when the latter is hosted by IIS. If I understand correctly, in this case they would both be using SOAP to communicate with their clients, and I would like to know if there will still be a performance difference. I am trying a weird thing. Since web services transmits only certain data types, I am serializing an object into a stream and then converting it into Byte[]. This then is the return type of the web method. The consumer of this web service can deserialize the byte array provided it has dotnet on it. This way I am able to transfer cus ...Show All
Visual Basic How can I keep the TabControl box the same size as the main form?
I searched the database as best I could and I hope this question has not already been answered and I missed it. As I'm new to this entire scenario, I may not be able to communicate my question in manner that can be readily understood. That said.. I have a main form with a TabControl box. How can I keep the TabControl box the same size as the form when it is resized. (TabControl1.Width = Form1.Width - 20) You can also set the Dock property of the TabControl to Fill. Robert ...Show All
Visual Basic Making a picturebox have a transparent background
I have a picture of a panda with a pink background (panda_down.bmp) and I was wondering: how do I get that pink background to be transparent Draw the image yourself in a paint handler, and use the imageattributes class to make 255/0/255 ( magenta ) transparent. ...Show All
Visual C# Convert hex to character
Hi. I have a string of hexadecimals that i whant to convert into text that i can view in a textbox or a listbox. Ex string myHex = "062306340634"; Best regards Surfsune for something like that you need to loop through the character array and process it yourself. char[] myHex = new char[4] { '\x0633', '\x0643', '\x0627', '\u0646' }; string str = ""; foreach (char ch in myHex) { str += string.Format(@"\x{0:x4}", (int)ch); } ...Show All
Windows Forms Is it possible to call my pcs shutdown or restart method in my application?
Hi I am in the process of designing an application. I would like to be able to include a button that will close my application and restart the pc. Or a button that will shut down my pc. Is this possible Would I need to make a call to the Windows API Thanks Is there a list of the exit codes Do you know what the exit code is to perform a restart ...Show All
Visual Studio 2008 (Pre-release) Callback question
Hi, Does wsDualHttpBinding for callback force client to open a port ...but If I have a proxy server Do I need to create a NAT for this port ...very hard for my customer... If I use netTcpBinding for callback does callbacks use the same connection for callback and not above approach I want to use callback with http channel but Its will fail if my customer has a proxy server. Does anybody know a solution for this Thanks, Alexnaldo Santos You can have all your endpoint share the same port, since the address name will be different. http://127.0.0.1/Endpoint1:8000 http://127.0.0.1/Endpoint ...Show All
Windows Forms WinForms and mini-database
Hi all, I want to build a small stand-alone VB.NET WinForm application to be sold to the general public. Let's say it will be something like Quicken bookkeeping, in that it will have user input forms, etc, and will save check entries to a mini-database. My question: What do I use for the mini-database MSDE I'm comfortable in building client-server  ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Basic Menu system
Im developing an app using directx (direct 3d). I have to use directx because the interface moves quite a few pictures around, resizing them at the same time, and the GDI just doesnt cut it. I am able to create a simple display with a background picture. Does anybody have any simple, note simple not the sample framework from the sdk, that I could take a look at for buttons and listboxes Im writing the app in VB .net but i can read C# so that works as well. Any samples or ideas on where to start thanks, the code was fairly simple, a lot of stuff i dont need but that was easy to cut it out and modify it to do what i needed. and then i wr ...Show All
