Topics
-
-
- Administrators
- *Experts*
- 20 replies
- 18.3k views
I just want to use DirectX.Direct3D for 2D graphics and I just want to know the esiest way to draw an image on x,y coords with less code as possible but using double buffer. Ok the following code initializes the Direct3D: public void InitializeGraphics() { // Set our presentation parameters PresentParameters presentParams = new PresentParameters(); presentParams.SwapEffect = SwapEffect.Discard; // Start up full screen Format current = Manager.Adapters[0].CurrentDisplayMode.Format; presentParams.Windowed = true; presentParams.BackBufferFormat = current; presentParams.BackBufferCount = 1; presentParams.BackBufferWidth = ScreenWidth; p…
Last reply by EFileTahi-A, -
-
- 2 replies
- 955 views
I have followed Microsoft's directions for authenticating using LDAP (http://support.microsoft.com/default.aspx?scid=kb;en-us;326340) and yet, when I attempt to logon, I receive the following error message: Error authenticating. Error authenticating user. ? Any suggestions would be greatly appreciated!!!
Last reply by remorknevets, -
- 1 reply
- 876 views
I have a freeware project I am trying to build in Visual C++ .NET called DOSBox. To build it, I first had to compile several other freeware projects that were required to work with it. I have now spent about 4 days working on this, but I am stuck with the following message: fatal error LNK1181: cannot open input file 'zlib.lib' I have compiled a fresh zlib.lib file, I have it referenced in the "Project | Properties | Configuration Properties | C/C++ | Command Line", and even added a Reference to it in the Solution Explorer. Why can't the linker find this? How can I help fix this problem? Any help would be appreciated. I am originally a VB.NET programmer,…
Last reply by joe_pool_is, -
- 0 replies
- 751 views
Hi, Say I create a web application and a web service. The web application is linked to the web service via references, however from what I understand those web references are unique to the machine on which the web services is on. What happens, if in 2 months down the line, the decision is made to move my web service from one machine to another, my web references are now looking in the old location and will not be able to find the web service. How do I deal with this situation, do I open up my code again, and create new web references for the web service on the new machine and upload all the files again, or is there a way by which I can redirect any application…
Last reply by mike55, -
- 1 reply
- 6.8k views
Hi expert, I am using c# on server side and javascript on client side. I want to use one string for which OI am using escape() function of javascript. Now I want to unescape it on server side with the help of c#. So, is there any function similer to unescape() in c#. I know escape() and unescape() of c# which is present in System.Text.RegulerExpressions but the wey this function works is different then the way the javascript's function works. I mean encodeing and decodeing style. Even I tried with server.URLDecode this function also uses some different encodeing style than the escape or unescape. If there is no any similer function in C# then somewhere can I ge…
Last reply by adyrotaru, -
-
- Administrators
- 5 replies
- 1.8k views
I just started with the command prompt and i just need a little help, one thing is where do i find a Domain Name at? and how to you print stuff i don't know where any of the stuff it is asking me for is. And it says Job# what is that????? or how do i send somthing thing?? or where do i get the computer name at.. and if u not anything i need to know or should please tell me please help thanks
Last reply by IngisKahn, -
-
-
- Leaders
- 7 replies
- 1.8k views
Hi, I'm in need of some QUICK help! how do i write a statement so that value 1 and value 2 check value 3 to see which value (1 or 2) is numerically closer to value 3? to explain this tongue-twister further... private int hello = 21; lblgoodMorning (has a value of 13) lblgoodBye (has a value of 10) in this case, a message box would display lblgoodMorning is closer! Many Thanks
Last reply by stustarz, -
-
- 0 replies
- 1.8k views
Hi, i'm trying to make an addin from c#.net. The project was created from Extensibility Projects - VS.Net Add-in, and then i added a reference to MS Excel 11.0 Object Library. The Problem is that if i'm using _CommandBarButtonEvents_ClickEventHandler, CommandBar, CommandBars, CommandBarButton, CommandBarPopup, MsoButtonStyle, the compiler makes these warnings : E:\VS Projects\FDB2XLaddin\Menu.cs(271): 'Microsoft.Office.Core._CommandBarButtonEvents_ClickEventHandler' is defined in multiple places; using definition from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\office.dll' i attached a screenshot too if you want to see it.... What should I do to correct thi…
Last reply by ThienZ, -
- 0 replies
- 1.3k views
Hello How can i declare constants in wdsl?? for example; if I have an exception class like that: public class MyException { ... public const int WRONG_PASSWORD=113; ... } I want to have these constants in the generated skeleton class from the wsdl file.
Last reply by acsbid, -
- 2 replies
- 1.1k views
my command prompt doesn't work.. this is what it says when i try to use it C:\Documents and settings\owner>net 'net' is not a recognized as an internal or exrernal command, operable program or batch file. can i fix that? :( thanks, Johnathin
Last reply by IngisKahn, -
-
- Leaders
- 2 replies
- 971 views
I'm orking on a simulation project, and I need to fill a Listox using a timer to do it, I'm simulating a phone central with 25 lines and many users, and I need to simulate users making a 'lane' to get access to telephone line and dial. For this, I need to put them in 'lane' (my lane will be the Listbox) every certain time, but I need to use the timer and I don't know how. I have consulted http://www.msdn.com, but it has an example for use the timer in console and NOT in Windows Form (and I'm not so expert with Visual Basic .NET), so I need an example of encolating people in my listbox using the timer.
Last reply by phreaky, -
-
- 1 reply
- 869 views
I'm having problems filling a dataset that I created using the XML Designer and then dragging a dataset object from the toolbox on to the form. Here's the code: Here's the call from my form: Dim dsOrderItems As dsOrderItems dsOrderItems = SOESdb.GetOrderItems(m_intOrderNumber) Heres the function in the DB class: Public Shared Function GetOrderItems(ByVal OrderNumber As Integer) Dim dsOrderItems As New dsOrderItems Dim cmdOrderItems As New SqlCommand Dim daOrderItems As New SqlDataAdapter cmdOrderItems.Connection = SOESConnection.GetSOESConnection cmdOrderItems.CommandText = "spGetOrderItems" cmdOrderItems.CommandType = StoredProcedu…
Last reply by Machaira, -
SQL Querry
by PROKA- 2 replies
- 861 views
I have a Table, named Table1 with the fields : IDRes int Active varchar(1) and a second table, Table2 with the field IdRes int I want to insert into the 2nd table all the rows from table one where Active='N' (must be the same IdRes)
Last reply by PROKA, -
- 1 reply
- 1.5k views
Is there a way the strongly typed dataset wizard will create classes that are usable across multiple databases? We are writing an application that can use Oracle, PostgreSQL, or Sql Server as the database. We have setup a DAL (using IDBConnection, IDBDataAdapter, etc.) to facilitate database portability. We can now use the DAL for all our database functions, which is great. However, we can't figure out how we to utilize the auto-generated strongly typed dataset classes across multiple databases. Is it possible? Our app has 1000's of columns, so this would be a MASSIVE time saver vs. creating all the classes by hand or hand-writing all the SQL. Thanks, Jo…
Last reply by AlexCode, -
- 3 replies
- 2.1k views
Does anyone know how to add a datetimepicker into a cell within a listview?? Cheers Simon
Last reply by Machaira, -
-
- Administrators
- 5 replies
- 19.6k views
if i have a range : Excel.Range S = (Excel.Range) oApp.Selection; which has one columns and more than rows, how can i loop through each cell? In VBA it was just like this : For Each mycell In S '... Next mycell Thx
Last reply by ThienZ, -
-
-
- Leaders
- 2 replies
- 1.1k views
Hi, is it possible to remove or turn an event off (and then on) from a control? I add an event like this : this.KeyPress += new KeyPressEventHandler(TextBoxMaxNr_KeyPress); How can i turn it on/off ? Thx in advance
Last reply by snarfblam, -
-
- 3 replies
- 1.2k views
Namespace or type specified cannot be found. Hello I am trying to set up a web services program in Visual Basic 2005 Express Beta 2. At the top of login.vb I have: Imports com.thesite.services This corresponds to the web reference "com.thesite.services" in the Solution Explorer Web References folder. BUT I am getting the following error: Error 2 Namespace or type specified in the Imports 'com.thesite.services' cannot be found. Make sure the name space or the type is defined and it doesn't contain other aliases. Any ideas as to the cause? Thanks.
Last reply by mancroft, -
- 0 replies
- 735 views
I am trying to encrypt an impersonation string in a web.config file. Has anyone accomplished this? I see many articles about AES and DPAPI encryption and how useful it is in protecting connection strings in the web.config. That's great and it works because in your code you request the connection string from the appSettings and you can work it over as you see fit to decrypt it. But in impersonation the programmer doesn't appear to have any control over when and where the string is interpreted so how can it be encrypted?
Last reply by VBAHole22, -
- 4 replies
- 1.3k views
Hi... I'm developing a tool that, using SQLDMO, retrieves the objects from the available SQL Servers. By now, I can retrieve anything but the relationships between tables!! How can I do that? Thanks! Alex :p
Last reply by AlexCode,
-
Who's Online 0 Members, 0 Anonymous, 65 Guests (See full list)
- There are no registered users currently online