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

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

versace582

Member List

prema.b
QWERTYtech
azzyford
IceAngel89
Finkster
Dedal
robinjam
bes7252
dvl_vn
NetPochi
MeanMisterE
Timmy0614
rKarthik
AndrewVE
NickNotYet
wlaulner
supagu
Eduardo D
RayCan
Bluehunter
Only Title

versace582's Q&A profile

  • Visual Studio Express Editions Structures, Arrays, Classes... what to use in my case? I'm confused :(

    Greetings! I've advanced a whole LOT on my program now, I got the full client part done in just 3 days o_o... anyhow! as I'm converting my old PureBASIC app to C#, I really loved the way it would use "Structures" to hold "Array data". For example, in PB I could do... Structure Info User.s ; String Warnings.l ; Long integer EndStructure Dim UserInfo.Info(2000) And for accessing/writing I could do, for example: UserInfo(8)\User="John" Basically an array with multiple data types inside. Now I've been searching around the net and found a "dilemma" about classes vs structures... I don't care much if those are in the "heap" (something I don't even understand yet :P I'm self-taught) or o ...Show All

  • SQL Server How I Imported my SQL Database Entities into my SQL Compact Database

    Hello: I am still working on my project, but figured I would share my findings with the community, on how I imported my SQL Server database tables into a new SQL Compact Edition database. Unfortunately, I haven't figured a workaround to the IDENTITY_INSERT issue, but other than that, I will proceed. 1) I downloaded and played with the tool presented in the article " Generate SQL Insert statements for your SQL Server 2000 Database " I made the following modifications . (my modification can be found here ) a) Disable scripting dependencies b) Add a filter for objects to script c) Prompt for each table from which to export data 2) From the scripts output by this tool, I had to (which I may integrate into the tool later. ...Show All

  • Visual C# New C# Keyword - retry?

    I believe that C# could benefit from extending try-throw with retry keyword. Simple example of this would be: try { PerfomAction(); } catch(Exception ex) { DialogResult dr = MessageBox(ex.Message, "Error", MessageBoxButtons.AbortRetryIgnore, MessageBoxIcon.Question); if(DialogResult.Retry==dr) retry; // Jumps to the begining of try block } IMHO: This makes for cleaner-looking and less bug-prone code than the alternatives with goto or loops. I dont think so... On the case that what in the "if()" is meet again and again the program gonna do endless loop. So, it seems to be somewhat dangerous. Otherwise, programmers can do this optionally using functi ...Show All

  • Visual Basic How can I send a form and its Subform (Datagrid) as a text file?

    How to I print a Form and its subform as a Text file or send it to a text files then print the text file using a button Maybe using something like this Please be specific if you can. Thank you Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click 'True escribe cada linea debajo en el file the texto "test.txt"./SIN borrar el anterior ' False, prepara un nuevo archivo en cada oportunidad Dim objfile As New System.IO.StreamWriter( "c:\test.txt" , False ) 'Estoy usando este formulario para escribir al formato de texto en el archivo test.txt objfile.WriteLine( "PENA'S ACCOUNTING" ) objfile.WriteLine( "17 Canal Street" ) o ...Show All

  • .NET Development Editing and Deleting nodes in VB

    Howdy, I'm working with a program using an XML file, and I'm trying to delete and edit nodes and attributes (well, delete nodes and edit attributes). I've looked around a fair bit, including through these forums, and simply can't find any good easy-to-use tutorial or documentation on this sort of thing. Does anyone know how I can edit or delete nodes using VB.NET, or any tutorials Any languages is pretty much fine (I can sort of try to translate it, but I would really prefer something about VB.net, if anyone has something of the sort). I've looked all over, and can't really find anything that I'm looking for. Thanks so much! Anything really is greatly appreciated. Thanks again! -Robert Good job Mark. Couple notes. You reload ...Show All

  • SQL Server linked server with IBM DB2 UDB for iSeries IDMDASQL OLE Provider Errors

    Hello Everyone I’m having problems retrieving data from IBM DB2 AS/400 linked server I have managed to connect a linked server using the IBM DB2 UDB for iSeries "IBMDASQL" OLE DB Provider. But when I run a query to the database I get only the field names and the following errors: Msg 7399, Level 16, State 1, Line 1 The OLE DB provider "IBMDASQL" for linked server "iseries" reported an error. Access denied. Msg 7301, Level 16, State 2, Line 1 Cannot obtain the required interface ("IID_IDBCreateCommand") from OLE DB provider "IBMDASQL" for linked server "iseries". My Server is Standard 64bit edition on cluster with CTP 2 ins ...Show All

  • SQL Server Connection denied. Please help

    Hello, everyone. I'm new in Reporting Services 2005. I encountered a confused connection problem. I'm running a named instance (called 'sql05') of SQL Server 2005 Standard Edition(a SQL Server 2000 instance as my default) on my Windows XP Professional machine. I log in Windows XP as a member of Administrators group. When I came into SQL Server Management Studio and connect to my local reporting server using Windows Authentication, the report server denied my connection request 'actively'. The service is running but it denied my connection. But when I use the same method to connect to my database engine and Analysis Services in Management Studio, no problem has happened. Does anyone have similar experiences I appreciate for any help. Thank ...Show All

  • Windows Forms Vertical Label

    Does someone know how i can make a vertical label like this : H E L L O Thanks Unless my eyes are deceiving me... http://img213.imageshack.us/img213/4910/untitledoq8.jpg I have never had any problems not being able to make vertical labels using the default label control. ...Show All

  • Visual Studio Detect when a value changes

    What I try to achieve is: I have 2 breakpoints and between those 2 break points, I have a variable whose value is changed. I want to detect in which line the value changes. I think in vb6, you were able to put a watch with condition and whenever that value changed the debugger stop in that line. Ex: 1 dim x = 0 2 ... 3 … 4 … 5 … 6 … 7 x =55 8 … 9 … 10 … 11 … 12 … So I have a breakpoint at line 2 and after this point I want to capture in which line x value is changed. It should return line number 7. How can I do this in Visual Studio 2003(VB/ASP.net). Thank you very much in advance. Selim What you need is a data breakpoint. Unfortunately, they only work when debugging unmana ...Show All

  • SQL Server If WCF can communicate with ServiceBroker?

    hi, I want tomake wcf and service broker communicate with each other,Are there some resources about that thanks in advance Absolutely. Any preference on where to put it It's not the most amazing work in the world, but certainly it's a starter for ten for anyone looking to bring these two great technologies together. ...Show All

  • .NET Development Reflecting Child Objects

    I am getting a MissingMethodException when trying to use reflection to get data from a child object. What am I missing Here are my classes: public class classA { public classB B = new classB (); } public class classB { public int x = 10; } And the code: classA a = new classA (); object ret = a.GetType().InvokeMember( "B.x" , BindingFlags .GetProperty | BindingFlags .GetField, null , a, null ); The name of the field is "x", you don't need to put a B. in front of it. B is known since you are doing InvokeMember on the type of B. object ret = a.GetType().InvokeMember( "x" , BindingFlags .GetProperty | BindingFlags .GetField ...Show All

  • Smart Device Development Unable to instantiate Inputpanel

    The following line: this.inputPanel1 = new Microsoft.WindowsCE.Forms.InputPanel(); Produces the folowing error: An unhandled exception of type 'System.NotSupportedException' occurred in Microsoft.WindowsCE.Forms.dll Additional information: NotSupportedException Iam using the WinCE x86 emulator. Does anyone have any idea why this occurs Please any thoughts would be helpful! THANKS. This is happening on the x86 emulator. It actually works on the deployment CE device. How do I add the requried Inputpanel components to the emulator. I am using VS 2003. Thanks. ...Show All

  • .NET Development How to: Make generic collection from derived class

    OK, this was hard to explain on a short title. Sorry. I have an abstract class (MustInherit) named Base, and a generic collection class named ColBase which can only take Base and derived classes as it's type. I also have an indefinite number of classes that inherit Base. I want to make a method on Base that returns a ColBase(of Base), but instead of ColBase(of Base) use the derived class. So if I have a class named Inherited, when I call Inherited.GetColBase it returns a ColBase(of Inherited) and not a ColBase(of Base). Do you know if this is possible, and if so, how to do it Thanks a lot, Joaquin Raya Sorry for the late reply. If this is still an issue - can you share your source so that I ...Show All

  • Visual C# Reading from a text file

    Hey! I want to make an Islamic program with daily prayer times but I'm having a big problem. The prayer time changes everyday, but I have the daily timing for the next 12 months (2007). Here is how the text file looks like: (prayertime.txt) Day January Fajr Sunrise Dhuhr Asr Maghrib Isha Mon 1 6:26 7:51 12:22 2:34 4:52 6:18 Tue 2 6:26 7:51 12:23 2:35 4:53 6:19 Wed 3 6:26 7:51 12:23 2:36 4:54 6:20 Thu 4 6:26 7:51 12:23 2:36 4:54 6:20 As you can see the prayer timings are different everyday. Part 1) Now I want my program to read the data from her ...Show All

  • Visual Studio Express Editions IE Plugins

    how can i add my IE plugins to my web browser i'm making popit, Do you mean to add the IE plugins to your WebBrowser control Could you tell me what IE plugins you want to add Actually there are so many ways to finish this task. If you can give the specific question, you will get your satisfied answer. Here I have two links to help you with this problem. One is about the WebBrowser Class as follows: http://msdn2.microsoft.com/en-US/library/system.windows.forms.webbrowser(VS.80).aspx The other is some instance on the WebBrowser control and hope that can help you: http://msdn2.microsoft.com/en-us/library/2te2y1x6.aspx ...Show All

©2008 Software Development Network