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

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

TonoGam

Member List

Brian.Nelson
Jim Thatcher
JoshMouch
Nadia_86
kcon
Oguz
Paul Gerald
Sambakongen
dragoncells
sohaibi
perrs
siavoshkc
McGeeky
Martin00
coefficientX
Loki70
Ihor
jccsharp
Grant Fritchey
DanMeyers
Only Title

TonoGam's Q&A profile

  • Visual Basic Searching a way for calculating checksum in HEX with 16 Bit algoritm

    I have a form with a  Button and a TextBox. When I click the Button it shows an OpenFileDialog and i want that it calculates the  Checksum of the OpenFileDialog1.FileName in Hexadecimal   and with a 16 Bit algoritm. And after that it calculates the  Checksum i want that it writes in Little Endian that means that if the Checksum is 1C E0  it writes E0 1C at offset 23 and 24  (in Little Endian)  of the OpenFileDialog2.FileName or display the Checksum as TextBox1.Text . T here are many HEX Editor that they calculate the Checksum of a file but i want to develop a my application. There is a good way in VBdotNET For writing Bytes i have this code      &n ...Show All

  • Smart Device Development Uniobjects.dll

    i am trying to create a CF program that i can use/reference this dll. the dll is supposed to be .net compatible. this is an IBM dll for communicating with a U2 database. i can add the dll to the program as a reference but, when i try to instanciate the class, i get this error: "COM object with CLSID '{3ED50B8E-0667-11D4-BE19-00104B2A91CE}' cannot be created due to the following error: Class not registered ." i tried tlbimp and it didnt work. any ideas I suspect they meant desktop framework, not compact framework. The popular solution when trying to access a database for which there is no CF provider is to create a web service on the desktop machine and use it for data access ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. vb.net project

    the project that you get when you select 'Windows Game (XNA)' in the C# Express, but converted to vb.net written with Studio 2005 Professional: http://workspaces.gotdotnet.com/basicXna more samples converted to vb.net to follow, Can't you just not reference the VB runtime (Microsoft.VisualBasic.dll) I do this on a project for work. The only thing is you have to be very careful not to do anything VB-specific. ...Show All

  • Windows Forms How to access currencymanager from listbox DrawItem event

    I have a dataset with fields (duedate, title, author, isbn) tied to an ownerdraw listbox so that I can format all of the fields in a single row as in: DataSet ds = lda.GetItems(1833); listBox1.DataSource = new BindingSource (ds, "Items" ); ---------------------------------------------------- Due: 1/1/2007 History of the Decline and Fall of the Roman Empire , Edward Gibbon ISBN: 12-23456-89 ----------------------------------------------------- What is the syntax (C#) for accessing the individual row cells in the bindingsource from the drawitem event The listbox item will contain a datarowview with the information. Here is a simple example that just draws the ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Good place for free sprite sheets?

    Does anyone have a good site for free 2D sprite sheets (for sprite animation) or does anyone have (or willing to create) any good sprite sheets they are willing to share I have a new project that I'm going to put on CodePlex which I think will be very useful and I need a good sprite sheet that I can include with the sample. Thanks, Bill Check out this post for monster links to XNA resources and tutorials! Always fun Darkside ...Show All

  • Visual Basic Compiler does not warn when assigning to readonly property

    I am maybe a newbie in VB .Net programming, but two recent incidents lead me to believe there are bugs in the VB compiler. Today, I finally discovered that compiler did not warn me even though, I was assigning a value to a public readonly property. Not only that, I have configured the project's compile settings to treat all warnings as errors. Option strict is on. This experience is similar to an earlier one where I was puzzled how in the world was it possible that a protected readonly structure variable in a mustinherit base class was indirectly overwritten in a totally unrelated calculation. Not only that, when I changed the structure declaration to a class declaration it would still overwrite the protected readonly variable. Th ...Show All

  • Visual C++ fatal error LNK1104

    i tried changing the directory list to include my project and debug folders. Blackjack fatal error LNK1104: cannot open file '.\debug\app.res' i'm using visual studios C++ 2003. What do i need to do. Thanks. Make sure you have the app.res on your system. For further VC 2003 issues, please use the newsgroups at http://msdn.microsoft.com.newsgroups as these forums are specific for VC2005. Thanks, Ayman Shoukry VC++ Team ...Show All

  • .NET Development DataTable is loaded very slow if there are two threads doing the same thing

    Hi, Here is my problem very short: Loading an oledb table data takes a fair amount of time, if there is only one thread that loads a table with data. If there are two of them, each loading its own table, loading takes unacceptable time. Now very long: I've written an oledb supplier (ATL) for a proprietary data source (it's not a database, it a server that exposes data on the network using an xml protocol). So far so good. I tested the oledb supplier with various methods, including a C++ program (not .net, mfc and ATL for oledb) that launched 10 threads to query the same data. It worked without problems. Now my job is to make a client program that does something with the exposed data. Unfortunately I have to use C# to do that, and of cour ...Show All

  • Visual Studio Express Editions Save

    How do I Save a file with out calling the dialog box, at the moment I can SaveAs the file(with dialog box) but what I'm after is when you click just save it just saves the file that is opened in its original format with any alterations that have been made. The program is a cut down version of a text editor. When you use the dialogbox you presumably have something like: If SaveFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then ' some code to save the file End If To save it without the dialogue then just put the code you run there into your Save button click event, replacing the dialog.filename property with the name of the file you opened originally. Or am I missing the poin ...Show All

  • SQL Server Freeze panes when report is exported to Excel

    I am using RS 2005 and emailing reports in Excel to my end users. Is it possible to set the report in VS.Net to freeze the panes so that the user will always see the column A when they scroll to the right once they view the report in Excel I have the feeling the answer is no, but I thought I'd check. Hi, there is a property named FixedHeader. I didn’t try that this deep yet (only for table header) , but it would be worth a try. I guess you will your own rendering extension as the rendering for Excel didn’t brought back the right results with fixed headers for me (worked well in HTML, but not in Excel) HTH, jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Tint programatically a Texture2D with another Texture2D

    Hello, Is it possible to tint programatically a Texture2D with another Texture2D For example: I have 3 furniture textures: a chair, a table and a cupboard I have 3 material textures: pine wood, teak wood and birch wood I want to show the chair, table and cupboard in pine wood, teak wood and birch wood. How can I do in XNA Thanks in advance Lluis If this is a 3D application, you should be able to do it pretty easily using a custom shader, loading the texture dynamically. If it's a 2D application, I think I'd just have more than one copy of the sprite texture already mapped with the different grains. Bill ...Show All

  • Visual Studio Tools for Office Trying to create Excel 2007 doc using Asp.Net and C#

    Hi, I am trying to learn how to create Excel spreadsheets programmatically and I believe this is the place to get help. I have been able to create an actual file, but when I try to open it with Excel 2007, a message box is displayed with "Cannot use object linking and embedding". When I click OK, I get another message box with "Microsoft Office Excel has encountered a problem..." and gives the option of sending an error report. What am I doing wrong Here are the relevant pieces of my code. Thanks in advance for any feedback. using Excel = Microsoft.Office.Interop.Excel; private void createSpreadsheet() { Excel.Application oXL; Excel.Workbook oWB; Excel.Worksheet oSheet; Excel.Range oRng; try { ...Show All

  • .NET Development Target the Framework version and Redirect Assembly Bindings from 2.0 to 1.1

    Dear all, I have encountered a problem of "DragDrop registration failed" problem in my .NET 1.1 dll because of the assembly binding is always going to .NET 2.0. (I realized the related attribute [STAThread], however, there's no Main() in my C# libraries) Therefore I tried to specifiy the runtime version and redirect those bindings in MyModule.dll.config. The binded assemblies, however, are still in .NET 2.0, according to both VS.NET 2003's output log and VS.NET 2005's fuslogvw. Meanwhile, they also logged compiling and linking processes. At that stage, linked assemblies are in version 1.1 correctly. My question is, does it means that configurations of runtime version and assembly binding redirection do not work backwa ...Show All

  • Visual C++ problem with /NODEFAULTLIB linker option

    Hello, I'm trying to compile a C++ code with /clr option and remove all references to the default library. I want to only analyze the output code and do not need to run it. I used the /NODEFAULTLIB option and got two liker errors: Error 1 error LNK2001: unresolved external symbol " .cctor@@$$FYMXXZ " ( .cctor@@$$FYMXXZ ) main.obj Error 2 error LNK2001: unresolved external symbol _mainCRTStartup Test1 To resolve the second error, I changed the project type to .dll and set the /NOENTRY option in the Liner/Advanced properties. Now I'm stuck with the first error. It seems it is looking for the constructor of some object. I'm guessing if I define a dummy object with proper name, this should be resolved too. Is that ...Show All

  • Visual Studio Team System Proxy Configuration for Dummies

    Hi, my coworker and I just can't get the proxy setup straight. I started a test setup where I have one TFS and one client. The client can connect directly to the TFS without a problem, now I want to do the same, but use a proxy (we will later do this between remote locations with a slow connection). I have some really basic questions and I guess I just did not understand how exaclty the proxy works. a) Where do I have to install the proxy portion (the setup in the proxy folder on the TFS CD) I assume that this goes on the machine that is the client to the actual TFS server. Like this: TFS Server ----WAN connection---- Proxy &Client (VS2k5) on same PC Correct b) In the proxy.config file, is it correct to enter the name of the ...Show All

©2008 Software Development Network