Software Development Network Logo
  • Windows Forms
  • VS Express Editions
  • Visual C++
  • Windows Live
  • Visual Studio
  • Smart Device
  • Visual FoxPro
  • Visual C#
  • VS Team System
  • Visual Basic
  • Microsoft ISV
  • Architecture
  • SQL Server
  • Windows Vista
  • Visual J#

Software Development Network >> Sönmez's Q&A profile

Sönmez

Member List

Ken_Hosinski
vbSathya
jdonna
Lou Valentine
Ian Heyns
Liatush
GoDaddy
spoox2
claude_c
bh7
rwin
Hawk390
Pini Usha
sth2n
Graeme dakers
guntarget
JerryCan
Maximilian Raditya
TheGeoff
kingku
Only Title

Sönmez's Q&A profile

  • Visual Studio Team System Method fails in unit testing with System.Resources.MissingManifestResourceException

    I have a method I am testing that provides localized strings and wanted to provide a unit test to take it through its paces. I already have the method working and wired to a UI, but also wanted to write a unit test for the method so that others would know that it works and to provide a code example. What is strange is that the method works as expected when I run it in the UI, but the unit test throws a System.Resources.MissingManifestResourceException in the unit test environment. All projects in the solution have strong names, so security is not the issue. Is this a bug in the unit testing framework The resources are located in folde ...Show All

  • Visual Basic Some Questions

    Question 1: I have a datagridview control with a vertical scrollbar. How can I determine the width of that scrollbar What I want to do is to set mydatagrid.width = totalcolumns.width + scrollbar.width Question 2: My datagridview control shows an empty row at the bottom even if I did not add it. Is there some way to hide it Question 3: How do I delete a row in my datagridview control The data in the grid is added manually and has no datasource. Question 4: My application has a login screen, but I want the main form to be loaded so its ready for use right away when the user hits the login button. Is there any way to solve ...Show All

  • Visual Studio Express Editions Something Besides Sql Server

    I understand how nice Sql server express is, but I need to find a different way of storing data. I am trying to create a program that I can distribute without forcing the user to install a bunch of stuff (except the framework, of course). I also understand that I could use xml, but I would need to learn a new way to program (I already know how to program against an SQL database). Does anyone have any suggestions on what kind of database I could use, and any links on how to program against it That is what I was thinking about, but I can't figure out how to program against it. I know how to do the SQL, but ho ...Show All

  • .NET Development COM connection point events failing to cross the COM interop boundary

    I have a piece of C++ code that runs in the Outlook process and makes use of a .Net assembly that is exposed via COM interop. The assembly exposes a delegate which the C++ code handles - events are posted through this delegate from the assembly to the C++ code. On my development machine this all works reliably. On my test machines it either doesn't work at all or only works sporadically. When it doesn't work, I do know that the event is being sent from the .Net code OK, and I also know that the C++ code has correctly connected its handler to the exposed delegate, but for some reason the event never makes it through COM interop to the C+ ...Show All

  • Smart Device Development cant connect to the computer

    i have a pocket pc that synchronize to my desktop using active sync 4.1. I manage to coonect to internet, but i cant manage to connect to my computer, for example http://kangalert/server/sqlcesa30.dll what kind of setting i need to configure in pocket pc so that i can connect to my computer. Can you connect to that site from your desktop computer http://kangalert/server/sqlcesa30.dll Also make sure you have configure IIS correctly. See some guide here http://msdn2.microsoft.com/en-us/library/ms172438.aspx You can also utilize the VxUtil tools ( http://www.cam.com/vxutil.html ) to see if you ...Show All

  • .NET Development Using OleDbDataAdapter.Update in Oracle

    I'm coding in C# .NET1.1 against Oracle 9i Enterprise Ed. I made a function to update from DataAdapter, but receive an exception when calling it: "Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column information." I do have a key in my Database table which is not a Synonyms table. And the sister function for inserting works fine. The whole class works in Access database too. I couldn't figure it out for many hours. What I am doing wrong Thanks indeed! Br, Xuan public void updateRecord(string tableName, SortedList param, string filterExpression, ref DataSet targetD ...Show All

  • Visual Studio Express Editions it works!

    hi, i saw one MSDNTV video, and the vid was about new feture sin desing environment and code completion. that man was worging with web developer tool, and he was showing some tips about creating a class, and its properties. i saw that it was very useful way, by only pressing TAB you get some code already generated, and marked fields to write your own names. a very cool way is to write properties. he showed that its enough to wite "property" and click Tab and the property is automaticaly generated with get and set methods, i decided to test it on c# express edition, but i saw that it doesn't work, maybe i have to configure something ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Reading compressed textures

    Hi, I have been working on a small 3d project for myself and i was wondering if anyone can help or point me in the right direction. Im trying to read in dxt compressed textures, i have been reading about the format in msdn and have been looking for some source code or tutorials on how to read these formats in. Im using C# and MDX i have posted the the source code that i have been playing with so far, this is to read a DXT1 compressed image. If anyone has some sample code, links or a better way to go about this please let me know. Thanks for any help,     -Dave   // CODE SurfaceDescription s = t ...Show All

  • Visual C# .NET 2.0 release problem

    I have installed the new .NET 2.0 redistributable package from http://www.microsoft.com/downloads/details.aspx FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&DisplayLang=en which required me to remove the beta version first. Now, none of my Visual 2005 C# Express Edition beta 2 applications will load into the Visual 2005 editor! "Microsoft Visual C# has encountered a problem and needs to close." There is no information about the nature of this problem. Am I missing something, do I need to revert to the .NET 2.0 beta, or what Regards,   Guido Well, it seems that there will be a new version ...Show All

  • .NET Development Suggestion request for winforms app

    Hi, I am developing a port scanner application that displays the open/closed ports in any system and outputs them to a richtextbox. My program works fine, but for the following issue:- I use a function that scans the ports. I tried calling this function using a thread pool as well as the thread class. But using the pool returns an exception at Appllication.run(new form1) and the program stops for ports greater than 50 upto 5/10 port it doesn't crash and the UI update of the list also occurs once all port have been scanned which is unusual since I am displaying them at the end of each function. I used the Thread class to ...Show All

  • SQL Server Creating relationships between 2 databases

    Is it possible to create relationships and enforce constrains thereof between two fields with the same data type from 2 different databases ( i.e. 2 different .mdf files ) altogether, attached to an instance of SQL Server 2005 Express This would help overcome the limitation of the 4GB database size it imposes, by splitting the info required into different databases, rather than just different tables. All the relationships could be then created and a program could be created using Visual Basic or C# or C++ to access all the data meaningfully. I also say this, because in a scenario like where some common piece of data, like contact info, has ...Show All

  • Visual Basic FORMATTED Read and Write

    I used to code in FORTRAN and I'm exploring the Visual Basic programing. I'm clueless about Visual Basic Read/Write procedures. Let's say a file named "input" consisting of 6 lines and structured as shown below: (the contents of "input" file are shown between the two single dash lines) ---------------------------------------------------------------------------- Title line                                            (line 1 ...Show All

  • Smart Device Development Can data be sent to GPRS enabled phones?

    My question is that nowadays, there are GPRS enabled phones available... Can a PC be interfaced to a GPRS enabled phone to send data via GPRS link At the receiving end again the data will come to the GPRS enabled phone and will be read by the second PC. Is it possible This is a wrong forum to ask this question, you should contact your particular phone carrier to find out if that's possible. My guess would be no because I doubt GPRS allows for incoming connections. ...Show All

  • Visual C# Code Help

    I am trying to add some C# code to a program named IronSpeed. It generates the below code but I need to change the arguments but I have no clue what I am doing. if ((args.Value) == "hello" || (args.Value) == "hi" I am trying to say if the value of the social security box is less than 9 numbers error it out. I think that I am suppose to use something like ="\d{9}". Any help would be greatly appreciated. /// <summary> /// This handler implements server side validation logic for the SocialSecurityNo field. /// </summary> private void SocialSec ...Show All

  • Windows Forms Don't show form

    Hi, I'm trying to write an app that doesn't open a form when run, but puts an icon in the system tray, which when double clicked, opens the form. I can do everything except stop the form from opening.  I've tried adding a this.Hide(); to the Form's load event, and even tried setting the WindowState to Minimized and then adding this to the Res ...Show All

©2008 Software Development Network